Shutdown dialog doesn't shutdown automatically after given time

Bug #1256703 reported by Germar
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Unity
Triaged
Low
Unassigned
unity (Ubuntu)
Triaged
Low
Unassigned

Bug Description

New shutdown/reboot/logout dialog (transparent UI introduced in 13.04) doesn't proceed after a given time. So after running 'gnome-session-quit --power-off' in a script the user will have to press a button or the system will never shutdown.

In old dialog (<= 12.10) there was a countdown starting at 60sec which shutdown the system after ran out. This made it possible to shutdown a system automatically from command line without extra user interaction.

The dbus method which triggers the dialog indicate that there is such a function:
~$ qdbus org.gnome.Shell /org/gnome/SessionManager/EndSessionDialog
[...]
method void org.gnome.SessionManager.EndSessionDialog.Open(uint type, uint arg_1, uint max_wait, QList<QDBusObjectPath> inhibitors)

I'd expect 'max_wait' is seconds until proceed shutdown. But it doesn't work.

---------------------
I know there is an alternative with 'sudo shutdown -h now' and I also know how to make that sudo command password-less. But that would only work on my own system. I need this functionality for a OSS project where I don't want to mess around in users '/etc/sudoers' file. All other Desktop Environs I know have such a feature except Unity >= 13.04

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: unity 7.0.0daily13.06.19~13.04-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.5
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Sun Dec 1 21:52:54 2013
InstallationDate: Installed on 2013-08-20 (103 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Germar (germar) wrote :
Andrea Azzarone (azzar1)
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
importance: Undecided → Medium
assignee: nobody → Andrea Azzarone (andyrock)
Changed in unity (Ubuntu):
assignee: nobody → Andrea Azzarone (andyrock)
Changed in unity:
milestone: none → 7.3.1
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.3.1 → 7.3.2
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.3.2 → 7.3.3
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Mh, I think it was a design decision not to do this... Actually to prevent this to happen we had to use some workarounds, so I think this is a Won't fix.

Revision history for this message
SergeiS (sergei-redleafsoft) wrote :

Marco, designers are graphical artists. Artists sometimes forget the good looking things still have to be functional.

Changed in unity (Ubuntu):
importance: Undecided → Low
Changed in unity:
importance: Medium → Low
status: Confirmed → Triaged
Changed in unity (Ubuntu):
status: Confirmed → Triaged
tags: added: rls-w-incoming
Changed in unity:
milestone: 7.3.3 → 7.4.0
tags: added: rls-x-incoming
removed: rls-w-incoming
Will Cooke (willcooke)
tags: removed: rls-x-incoming
Revision history for this message
SergeiS (sergei-redleafsoft) wrote :

I want to add a bit here to raise awareness of the fact that the issue goes beyond the scenario in the description. My computer is on uninterrupted power supply (UPS), which gives me 10-20 minutes to shut it down if power goes out. My monitor draws to much to be supported by the UPS, so it goes out with the power. The standard and working solution in every other distro and Windows and MacOS is to press power switch button, which pops a timed dialog and, if no action is made, shuts down. The current Unity dialog has not keyboard shortcuts, only mouse buttons. It is impossible to make a mouse selection without having a monitor on. This is a serious flaw!

tags: added: unity-backlog
Andrea Azzarone (azzar1)
Changed in unity:
assignee: Andrea Azzarone (azzar1) → nobody
Changed in unity (Ubuntu):
assignee: Andrea Azzarone (azzar1) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.