** Also affects: gnome-shell
Importance: Undecided
Status: New
** Description changed:
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.
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 "gnome-session-quit --force --no-prompt --power-
- off" and "dbus-send --session --dest=org.gnome.SessionManager
- /org/gnome/SessionManager org.gnome.SessionManager.RequestShutdown".
- Both commands shoudn't call a dialog.
+ 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.
** Description changed:
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 Unitiy, 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.
--
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 “gnome-session” package in Ubuntu:
New
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 Unitiy, 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
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp