Bug 448602

Summary: Pressing sleep does not close application menu
Product: [Plasma] plasmashell Reporter: iodreamify
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: minor CC: mikel5764, nate, noahadvs, plasma-bugs-null
Priority: LO    
Version First Reported In: 5.23.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.25
Sentry Crash Report:

Description iodreamify 2022-01-16 15:47:38 UTC
SUMMARY
Inside the new kickoff application launcher, pressing the Sleep button does perform the intended function but does not close the application menu. Since there is no visual feedback sometimes i wonder if i've hit the button and if anything is happening in the few seconds it takes to put the system to sleep. And then after it wakes up the application menu is still there open.
 
In my opinion this behavior is a bit confusing and pressing Sleep should immediately close the application menu. I believe many of the other DEs have it set up that way too. I also wonder if not having it behave like a standard button and not closing the application menu opens the possibility of accidentally hitting Sleep twice. 

STEPS TO REPRODUCE
1. Open the application menu
2. Press Sleep 

OBSERVED RESULT
The system goes to suspend but the application menu is still visible.

EXPECTED RESULT
The application launcher is closed immediately.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.0-zen1-1-zen (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa DRI IntelĀ® HD Graphics 3000
Comment 1 Nate Graham 2022-07-05 16:53:17 UTC
This should be fixed in Plasma 5.25.
Comment 2 iodreamify 2022-07-05 19:01:05 UTC
(In reply to Nate Graham from comment #1)
> This should be fixed in Plasma 5.25.

Can confirm on clean user account on 5.25 with both X11 and Wayland. 
On my regular user account it still has the old behavior for some reason though. Must be some config i changed.