After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344476 - "gnome-session-save --kill" saves the session instead of killing it
"gnome-session-save --kill" saves the session instead of killing it
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-10 12:55 UTC by Martin Stjernholm
Modified: 2007-04-02 15:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Martin Stjernholm 2006-06-10 12:55:34 UTC
When I issue the command "gnome-session-save --kill", I get a "Your session has been saved" dialog. If I then issue the same command again, it kills my session as I expect it would already the first time.

I've had this error a fairly long time; it's not new in 2.14.

Possibly related: I use sawfish as WM.
Comment 1 Tom Tromey 2006-10-04 17:25:52 UTC
Does this still happen with 2.16?

The code looks like it should not pop up that dialog if --kill is given.
So the fact that it appears is interesting...

Comment 2 Mattias Eriksson 2006-10-19 07:36:55 UTC
Yes it still happens in 2.16. Not always bug every now and then...
Comment 3 Martin Stjernholm 2006-10-30 10:57:36 UTC
I think there's a correlation between the Skype client (downloadable from skype.com) and this problem. It runs in the background and adds an icon to the notification area. I never see the error when I haven't started this application, but I often (possibly always) get it otherwise.
Comment 4 Dan Winship 2007-01-12 17:28:17 UTC
Is it actually saving the session? That is, does it create a new
~/.gnome2/session file?

I've noticed that if an application cancels the logout (eg, start gedit, type
some random characters, try to log out, and then click "Cancel Logout" in the
dialog that gedit pops up), then gnome-session pops up the "your application
has been saved" dialog, although it does not actually save the session. So it
might be that skype is silently cancelling the logout.
Comment 5 Martin Stjernholm 2007-01-14 12:57:34 UTC
It doesn't update the ~/.gnome2/session file for me when this occurs.
Comment 6 Mattias Eriksson 2007-04-02 15:33:55 UTC
This bug still exists for Gnome 2.18. But now skype just cancel the logout, the "Your session is saved" dialog is gone... but it is still annoying. 
Comment 7 Dan Winship 2007-04-02 15:47:16 UTC
If the dialog is gone, then the (gnome-session) bug is fixed.

Skype is explicitly telling gnome-session that you have decided that you don't
want to log out; gnome-session has no way to know that it's lying. (Probably
the intent was that you don't want to be logged out *if a call is in progress*,
but they were just overzealous, or else maybe there's a bug in their code
and they forgot to test the no-call-in-progress case. You could try filing
a bug against skype.)