Bug 410489

Summary: Lid closing does not lock screen with context menu on desktop
Product: [Plasma] plasmashell Reporter: Unknown <null>
Component: Lock/logout widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate, postix
Priority: NOR    
Version First Reported In: 5.16.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Unknown 2019-08-01 17:30:06 UTC
Lid closing does not lock screen with context menu on desktop


STEPS TO REPRODUCE
1. Invoke desktop context menu
2. Close laptop's lid
3. Open lid

OBSERVED RESULT

Screen is not locked


EXPECTED RESULT

Screen should be locked with no matter if the context menu is invoked or not if locking is enabled


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 18.04
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
Comment 1 postix 2019-08-02 11:28:21 UTC
Can confirm it on:

Operating System: Manjaro Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Kernel Version: 5.2.2-1-MANJARO
Comment 2 Nate Graham 2020-01-13 03:54:15 UTC
Sadly this is an unfixable X11 bug. On X11, when a context menu is open, it steals all input and prevents the power management process from working properly. It's a design flaw of the way X11 was created, and is not present on Wayland.