Bug 348693 - "Logout dialog" triggers undesired system shutdowns.
Summary: "Logout dialog" triggers undesired system shutdowns.
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: 5.3.1
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 10:01 UTC by Aldoo
Modified: 2016-03-10 19:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
kde: Usability+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aldoo 2015-06-04 10:01:16 UTC
This 'bug' is the result of defaulting to shutdown as logging out method, with a timer activated by default.

The repro below uses actions managed by the power settings, but I suppose this dialog may be called by other methods.


Reproducible: Always

Steps to Reproduce:
1. in power settings, set up the power button action as displaying the logout dialog
2. press power button

Actual Results:  
A dialog is displayed saying that the system will shut down within 30 seconds... and if no further user action happens, it will indeed shut down.

The behavior I describe especially irks me because in my use case, the following typical scenario often happens:
1. I use the power button to wake up my system from suspend 
2. since I use an external monitor that is not always recognized on wake up, not seeing anything on screen, I sometimes believe the system is still sleeping  (some bugs/wishes should also be filled for the display configuration tool, I am afraid!)
3. so I press the power button again...
4. since I still cannot see the infamous logout dialog, this results in an unexpected shut down when the timer expires

Expected Results:  
Since the dialog was called (in this context) with no special instruction as to whether the system should shut down, reset, just log out or whatever, there is no reason to shut down if the user did not explicitly ask for this.

I believe it is fine to display this dialog, but completely not fine to start this timer and, worst, defaulting to the less harmless way of logging out.

Please do not automatically start the timer when the dialog is called in this way! (i.e.: you did not press an explicit "shut down" button).
Comment 1 Kai Uwe Broulik 2015-06-04 10:05:56 UTC
Re-assigning to Plasmashell's look and feel package which is responsible for the shutdown dialog including the countdown.
Comment 2 Kai Uwe Broulik 2016-03-10 19:48:08 UTC
On Wayland if the screen is turned off, the button press will wake up the screen without triggering the shutdown action.