Bug 454539

Summary: Widgets shouldn't be able to crash plasmashell
Product: [Plasma] plasmashell Reporter: vincentpamatat
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: kde, nate, niccolo.venerandi, puspitaadak9876
Priority: NOR Keywords: usability
Version First Reported In: 5.24.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Plasmashell crashreport

Description vincentpamatat 2022-05-28 16:57:41 UTC
Created attachment 149293 [details]
Plasmashell crashreport

STEPS TO REPRODUCE
1. Add a widget to the panel that only works under X11 (e.g https://github.com/wsdfhjxc/virtual-desktop-bar)
2. Log out and switch to wayland 

OBSERVED RESULT
Plasmashell crashes and continuously tries to restart itself.

EXPECTED RESULT
Plasmashell automatically disabling the crashing widget and/ or telling the user which widget crashes.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Comment 1 Nate Graham 2022-06-01 17:43:32 UTC
The root cause would be a misbehaving widget, but Plasmashell should definitely be more robust here.
Comment 2 Nate Graham 2023-04-27 18:38:55 UTC
*** Bug 464405 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2023-05-07 13:26:06 UTC
We discussed this at the Plasma 6 sprint and decided that it would not be worth the effort. Anything we could do that would accomplish this goal would hugely complicate the code and reduce robustness in a different way. So I'm afraid this is going to have to stay the way it is for the time being, sorry.