Bug 439416

Summary: kscreenlocker does not lock screen for suspend while right-click menu is open on Plasma desktop
Product: [Plasma] kscreenlocker Reporter: Bryan Habeck <habeckb033>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bhush94
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bryan Habeck 2021-07-02 19:31:33 UTC
SUMMARY

When the laptop lid is closed and the computer suspends while a right-click menu is open on the Plasma desktop and screen is set to lock on suspend, the screen will not be locked when it returns from suspend.

STEPS TO REPRODUCE
1. Right click on Plasma Desktop
2. Suspend system while right-click menu is open
3. Return from suspend and notice that there is no lock.

OBSERVED RESULT
Screen is not locked.

EXPECTED RESULT
Screen should be locked.

SOFTWARE/OS VERSIONS
OS: openSUSE Tumbleweed
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Bryan Habeck 2021-07-03 06:43:11 UTC
After some research, this bug appears to be a duplicate of: https://bugs.kde.org/show_bug.cgi?id=78871

This bug is a result of QMenu grabbing X11, not allowing KScreenlocker to grab it.
Comment 2 Bryan Habeck 2021-07-03 06:43:31 UTC

*** This bug has been marked as a duplicate of bug 78871 ***