← Back to team overview

epoptes team mailing list archive

[Bug 931565] Re: The methods Shutdown and RequestShutdown in org.gnome.SessionManager do the same


** Also affects: epoptes (Ubuntu)
   Importance: Undecided
       Status: New

You received this bug notification because you are a member of Epoptes
Developers, which is subscribed to epoptes in Ubuntu.

  The methods Shutdown and RequestShutdown in org.gnome.SessionManager
  do the same

Status in GNOME Shell:
Status in epoptes package in Ubuntu:
Status in gnome-session package in Ubuntu:

Bug description:
  I've looked into the source of gnome-session-bin and noticed that the
  methods Shutdown and RequestShutdown of the org.gnome.SessionManager
  interface both start the shutdown-dialog. In the file
  org.gnome.SessionManager.xml it is clearly stated that RequestShutdown
  (line 319-325) should not start a Dialog while Shutdown (line 251-257)

  It actually works normally when one uses Unity, but not with the

  I'm using Ubuntu 12.04, but this problem has been occuring since some time before 12.04. (I've noticed it because I'm the programmer of qshutdown)
  The difference to the System(s) before 12.04 was that the shutdown-dialog was not called in both cases.

  You can test this with "dbus-send --session
  --dest=org.gnome.SessionManager /org/gnome/SessionManager
  org.gnome.SessionManager.RequestShutdown". The system should shutdown
  without popping up a dialog (prompt).

  Just to mention another problem coming with this: When setting (lets
  say with the dconf-editor) at org->gnome->gnome-session (also
  org.gnome.SessionManager) logout-prompt to false, no dialogs are shown
  at all (with either Method) and clicking on Shutdown in the indicator
  menu also just shuts down instead of showing the option(s) to reboot

To manage notifications about this bug go to: