Bug 458870

Summary: Plasmashell crashes or segfaults when "Add Widgets..." is selected with multiple panels present
Product: [Plasma] plasmashell Reporter: Krešimir Čohar <kcohar>
Component: Widget ExplorerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: kcohar, nicolas.fella
Priority: NOR    
Version: 5.25.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash then restart

Description Krešimir Čohar 2022-09-08 10:42:31 UTC
SUMMARY
The plasma shell crashes if "Add Widgets..." is clicked on if there are multiple panels on the screen. This happens on X and on Wayland.

STEPS TO REPRODUCE
1.  Add multiple panels (top, bottom, left)
2. Right click on any of the panels or on the desktop and select Add Widgets...

OBSERVED RESULT
Several possible outcomes:
(1) Nothing happens. No Widget Explorer present on the screen.
(2) The shell crashes and restarts itself. Clicking Add Widgets... again leads to the same outcome.
(3) The shell crashes, all the windows on the screen disappear and they can only be brought back by restarting kwin_x11 (not plasmashell). On Wayland, restarting kwin also crashes the session. 

EXPECTED RESULT
The Widget Explorer appears.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: Plasma 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Comment 1 Krešimir Čohar 2022-09-08 10:42:59 UTC
Created attachment 151920 [details]
Crash then restart
Comment 2 Nicolas Fella 2022-09-08 11:25:21 UTC
Sounds a lot like https://bugs.kde.org/show_bug.cgi?id=458829
Comment 3 Nicolas Fella 2022-09-08 19:20:40 UTC

*** This bug has been marked as a duplicate of bug 458829 ***
Comment 4 Krešimir Čohar 2022-09-09 09:32:02 UTC
Thanks! Sorry I wasn't able to find the duplicate bug.