← Back to team overview

desktop-packages 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 Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/931565

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

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

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)
  should.

  It actually works normally when one uses Unity, but not with the
  gnome-shell.

  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
  etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/931565/+subscriptions