Bug 498089

Summary: Task Manager no longer shows windows after plasmashell restart on kwin_wayland
Product: [Plasma] plasmashell Reporter: John Chadwick <john>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: qydwhotmail
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Logs from the last invocation of plasma-plasmashell from journald.

Description John Chadwick 2024-12-31 14:35:59 UTC
Created attachment 176996 [details]
Logs from the last invocation of plasma-plasmashell from journald.

After restarting Plasmashell, the Task Manager widget no longer shows any tasks. It can still launch applications, but it will appear as if no windows are open at all times. Changing the options for exclusion (e.g. "Show only tasks" options) to any combination does not seem to have an impact. Restarting plasmashell again did not seem to have an impact.

STEPS TO REPRODUCE
1. systemctl --user restart plasma-plasmashell

OBSERVED RESULT
Task Manager widget is unable to show open windows.

EXPECTED RESULT
Task Manager should show open windows.

SOFTWARE/OS VERSIONS
Operating System: NixOS 25.05
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.11.9 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics
Memory: 27.2 GiB of RAM
Graphics Processor: AMD Radeon 780M

ADDITIONAL INFORMATION
Log file of last plasma-plasmashell invocation attached.

My NixOS configuration for KDE is open source but there is probably not much of interest in it. Most likely if there is a bug in the set up, it is probably something to do with the way NixOS has the systemd units configured. I should be able to debug further if the issue is a NixOS-specific problem.
Comment 1 John Chadwick 2024-12-31 14:55:04 UTC
I think it is possible this is not a real problem. It appears I updated my system without actually restarting at some point, and then later when I restarted plasmashell it broke because there was a version mismatch. Now that I *have*, restarting plasmashell works again.

Having some kind of graceful way to handle version mismatches like this would be a great UX improvement, though it may not be as big of a concern if immutable Linux distributions (particularly, ones where system upgrades are applied atomically on reboot) are going to be the future.