Plasma crashes when adding system tray widget to panel

After a recent update, plasmashell started crashing repeatedly upon login, with little useful info in the terminal output. I moved some files in `~/.config`, don’t ask me which, and the issue abated although I lost all of my desktop customizations.

Now, however, whenever I add a new panel with the system tray, or try to add the system tray widget to an existing panel, plasmashell crashes and restarts with the system tray missing.

I’m really not sure what to do at this point, as I’ve deleted or renamed all files / directories in `~/.config` that looked relevant; have I missed one?

Sysinfo would be helpful and what’s showing in the logs at the time of the crash?

You can try to make a new user, begin from scratch with your desktop and copy only a little number of files (that you know wich ones) to <new user>/.config and see the results.

Regards

Sorry this is happening. We’ll need a backtrace of the crash for this to be actionable. See Guidelines and HOWTOs/Debugging/How to create useful crash reports - KDE Community Wiki, and consider submitting a bug report that includes the backtrace you’ll generate using the instructions at that link.

The issue with plasmashell crashing is now occurring on my other machine too.

System info:

Operating System: EndeavourOS
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.7-arch1-1 (64-bit)
Graphics Platform: Wayland

Possibly relevant logs:

`KPackageStructure of KPluginMetaData(pluginId:“org.kde.plasma.plasm6desktopindicator”, fileName: “/home/username/.local/share/plasma/plasmoids/org.kde.plasma.plasm6desktopindicator/metadata.json”) does not match requested format “Plasma/Applet”`

`kdeconnect.interfaces: QDBusError(“org.freedesktop.DBus.Error.UnknownObject”, “No such object path ‘/modules/kdeconnect/devices/7c44023693d84d0286c922c1fe39fb95/notifications’”)`

Dr. Konqi:

Dr Konqi isn’t able to produce useful error information: `Gathering crash information failed for unknown reasons. You can retry, close the window, or view detailed output.`

No worries, crashes happen. I have filed a bug report.