Bug 413624

Summary: Clicking on "Cancel" or elsewhere leads to the same result
Product: [Plasma] plasmashell Reporter: Paolo Zamponi <feus73>
Component: Lock/logout widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.17.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paolo Zamponi 2019-10-30 09:40:41 UTC
SUMMARY
If I click on "Leave..." I got a black screen with some options (one of them checked) and two buttons, "OK" and "Cancel":

1. if I click on "OK" I came back to Plasma and my system will shut down (or it will reboot, or something else);
2. if I click on "Cancel" I came back to Plasma and I can continue my work;
3. if I click elsewhere (I mean, not on a button) I came back to Plasma and nothing happens.

I think the latter is tricky, because it's the same than 2. but I have no feedback on what will happen. I mean, I can't be sure if I hitted the "OK" button or I clicked "near" it (ok, maybe I'm getting old...), so my system will shut down or not?

STEPS TO REPRODUCE
1. Click on "Leave..." or on "Reboot..." or on "Switch User..."
2. Click on the "Cancel" button
3. Repeat step 1. but now click elsewhere (not on a button): the results are the same.

OBSERVED RESULT
In this moment we don't need a "Cancel" button, since its result is the same than clicking elsewhere.

EXPECTED RESULT
I think the shutting down process should be cancelled only by clicking the proper button, and maybe I should have a visual feedback, too.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.17.0
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Comment 1 Nate Graham 2020-01-13 03:56:44 UTC
There's a cancel button because it's not visually obvious that clicking in the blank area will close the logout screen. But the fact that doing this has the exact same functional and visual effect as clicking on the Cancel button is enough to show you that in both cases, the logout process was canceled.