Bug 357143

Summary: Logout/Shutdown/Reboot panel can lose focus and then ESC key does not work
Product: [Plasma] plasmashell Reporter: Gregor Mi <codestruct>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: minor CC: bhush94, kde, plasma-bugs
Priority: NOR    
Version: 5.5.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.5.4
Sentry Crash Report:

Description Gregor Mi 2015-12-25 10:03:30 UTC
Reproduce:
1. Hit Ctrl+Alt+Esc to show logout panel
2. Accidentally click with the mouse somewhere else
3. Hit ESC to close the panel

Actual: The ESC key works on the window which is currently focued

Expected: The ESC key closes the Logout panel
Comment 1 Kai Uwe Broulik 2015-12-25 10:43:11 UTC
I should probably finish https://git.reviewboard.kde.org/r/124586/ :)
Comment 2 Gregor Mi 2015-12-25 20:18:48 UTC
+1 :)
Comment 3 Kai Uwe Broulik 2016-01-18 11:08:05 UTC
Git commit 3dce39fd21eb36a1d912a299fad7fc3e2a4a7c72 by Kai Uwe Broulik.
Committed on 18/01/2016 at 11:06.
Pushed by broulik into branch 'Plasma/5.5'.

[KSMServer] Dismiss logout dialog when clicking outside

It doesn't make sense to be able to interact with windows behind it and this also
prevents accidental logouts when you somehow lose the window behind others and
forget about it.

REVIEW: 124586
FIXED-IN: 5.5.4

M  +12   -0    ksmserver/shutdowndlg.cpp
M  +2    -0    ksmserver/shutdowndlg.h

http://commits.kde.org/plasma-workspace/3dce39fd21eb36a1d912a299fad7fc3e2a4a7c72