Bug 478628

Summary: Plasmashell segfaults when trying to remove the Kicker (application menu) widget from the desktop
Product: [Plasma] plasmashell Reporter: Adam Fontenot <adam.m.fontenot+kde>
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: bednarczyk.pawel, fanzhuyifan
Priority: NOR Keywords: qt6
Version First Reported In: 5.90.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: backtrace
backtrce

Description Adam Fontenot 2023-12-17 06:38:01 UTC
Created attachment 164241 [details]
backtrace

SUMMARY
I added the application menu to my desktop itself (*not* a panel). Removing it crashes plasmashell. Trying to remove any other widget that I've tested (including Kickoff) does not crash plasmashell.

For some reason plasmashell seems to crash "harder" than normal. Usually when I've seen a crash the desktop background doesn't disappear and the panel comes back after a couple seconds. In this case, the crash handler appears immediately but the background stays black for 5+ seconds.

Backtrace attached.

STEPS TO REPRODUCE
1. Add a kicker widget to your desktop. Should appear as a large button. Click it to make sure it works. (No issues for me.)
2. Right click the widget and select "remove application menu".

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.6-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFO

If anyone wants to tell me how to remove a widget from the desktop manually that would be cool of you :-)
Comment 1 Pawel 2023-12-17 15:19:28 UTC
Created attachment 164249 [details]
backtrce

can confirm on Arch linux Beta 1
Comment 2 fanzhuyifan 2023-12-17 18:25:34 UTC
Can't reproduce on master. Maybe it has already been fixed? It would be great if you could check if this still happens on master. Thanks!
Comment 3 Pawel 2023-12-17 19:40:54 UTC
I will test on Arch when beta 2 is released and report back if no one beats me to it on neon
Comment 4 Adam Fontenot 2023-12-21 01:41:07 UTC
Can confirm, I was able to remove the widget in beta 2.