Bug 399755

Summary: Menu entries blocks kscreenlocker and other features.
Product: [Unmaintained] kscreenlocker Reporter: Roman <interreakcje>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bshah, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Roman 2018-10-13 12:28:45 UTC
SUMMARY
Menu entries blocks kscreenlocker and other features like volume changing by keyboard. It's impossible to get suspend by laptop keyboard shortcut but it gets suspend by close cover. After opening cover system gets open without password asking. It's insecure. With opened menu entries keyboard shortcuts with fn key dont works (volume, suspend etc.). It must be classic menu, not like Firefox "onebutton" icon.

STEPS TO REPRODUCE
1. Open Inkscape/LibreOffice etc., move mouse over some menu position, click, and let be menu list visible.
2. Close laptop cover to enter into suspend.
3. Open cover.

OBSERVED RESULT
System start directly into Inkscape/LibreOffice without asking for password.

EXPECTED RESULT
Login screen

SOFTWARE VERSIONS
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
Encrypted home directory
Comment 1 Nate Graham 2018-10-13 22:14:53 UTC
This is unfortunately an unfixable bug in X11 due to how it handles menus: they irrevocably steal all focus. It's the same reason why you can't launch Spectacle while a menu is open.

Happily, this issue is not present on Wayland.