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 316037 - The logout dialog seems to ingnore the 'save current setup' checkbox
The logout dialog seems to ingnore the 'save current setup' checkbox
Status: RESOLVED NOTGNOME
Product: gnome-session
Classification: Core
Component: gnome-session
2.14.x
Other All
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
: 342954 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-11 23:45 UTC by Waldo
Modified: 2007-05-09 20:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Waldo 2005-09-11 23:45:41 UTC
Please describe the problem:
When logging out of GNOME, I go to Desktop->Log Out.  No matter which kind of
log out (Log Out, Shutdown, Restart) is chosen, I get an "Information:  Your
session has been saved." dialog.  After clicking away the dialog and choosing
the Logout option again, GNOME logs out successfully.

I have this annoying experience about 75% of the time I try to log out. 
Occasionally it will simply log out properly, but the vast majority of the time
I'll have to log out twice-- the first time results in the dialog box, the
second does not.

I've traced this behavior to gnome-session-save, which is acting as if --gui is
specified the first time I log out, although clearly, it should not be.  (see
bug #149447 for what may be a related issue).

I am not alone in seeing this bug-- it has been reported in several places
previously:

http://gnomesupport.org/forums/viewtopic.php?t=9494
http://lists.ubuntu.com/archives/ubuntu-users/2004-October/004675.html
http://gnomesupport.org/forums/viewtopic.php?t=9767
etc.

Removing the ~/.gnome2 directory makes no difference.  I have had this problem
with gnome 2.8, 2.10, and now 2.12 as well.  Oddly, no one on the gentoo forums
(my dist) seem to have this issue.

W

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Waldo 2005-12-16 04:33:11 UTC
Same bug reported here:  http://64studio.com/ticket/109

W
Comment 2 Waldo 2005-12-19 06:23:35 UTC
By request-- two more observations:

1.  I have amd64.  At least one other user (at 64studio.com) does as well.  Also, these bugs started appearing around the time amd64s were getting popular.  That may be relevant.  It may not be.

2.  As another user reported above, it does not matter if the "save current setup" box is checked or not.  This thing is throwing up the dialog even when it shouldn't be trying to save the session.

Thanks to jan for assisting with this a bit.  Also, see what may be related (?) -- bug 324465 -- which I just added and jan confirmed.
Comment 3 Jan Boehm 2005-12-19 06:30:54 UTC
I confirm this on account of the other reports linked above. Feel free to throw shit at me if this is considered inapropriate. ;-)
Comment 4 Sebastien Bacher 2006-01-04 14:38:05 UTC
Ubuntu bug about that: http://bugzilla.ubuntu.com/show_bug.cgi?id=21449
Comment 5 Sebastien Bacher 2006-01-07 13:54:22 UTC
Other Ubuntu bug: https://bugzilla.ubuntu.com/show_bug.cgi?id=18485
Comment 6 Waldo 2006-01-08 04:56:13 UTC
According to that but (18485 in ubuntu), and I quote:

"I have found out something more about this. There
is a program in universe called apollon. This bug only occurs when apollon is
running.

Whether or not apollon is running, the output of "gdmflexiserver -a -c
QUERY_LOGOUT_ACTION" is "OK HALT;REBOOT;HIBERNATE"."

However, I'm using gentoo.  apollon (net-p2p/apollon - Description: A KDE-based giFT GUI to search for and monitor downloads.) is neither installed nor running on my machine, which is GNOME only (I do have QT installed).

I might note that the logout-dialogue-the-first-time thing does not ALWAYS happen, although it does about 90% of the time.  I wonder if everyone who's having the problem is using AMD64, as I am..?

Also, for what it's worth:

$ gdmflexiserver -a -c QUERY_LOGOUT_ACTION
OK HALT;REBOOT


W
Comment 7 Waldo 2006-03-17 11:04:19 UTC
Updating nug, still exists in 2.14 - sigh.
Comment 8 Elijah Newren 2006-06-03 23:11:27 UTC
*** Bug 342954 has been marked as a duplicate of this bug. ***
Comment 9 Sam Morris 2006-06-03 23:29:54 UTC
I get this on i386, and apollon has never been installed on my machine. :)
Comment 10 Uri David Akavia 2006-08-15 14:16:41 UTC
I seem to have an opposite problem (tell me if I should open a different bug).
The logout dialog ignores the save-session checkbox, and NEVER asks me to save the session.

To reproduce - open GAIM.
Watch GAIM get added to the list of applications in this session.
Log out from GNOME.
(No questions asked, no session saved).
Restart GNOME, watch as GAIM doesn't start up at all.
Comment 11 Waldo 2006-08-27 00:59:30 UTC
Any chance of this bug or the possibly related bug #324465 being addressed for 2.16?

W
Comment 12 Tom Tromey 2006-09-27 07:14:14 UTC
I think we should fix this by removing that dialog entirely.
I added a patch for this to bug #149447.
Comment 13 Vincent Untz 2006-10-08 14:25:20 UTC
Dialog is killed in HEAD, thanks to Tom.
Comment 14 nick.c.humphrey 2006-11-25 21:44:04 UTC
i have this same problem in gnome 2.16 on fedcora core 6 so how is this marked as fixed?
Comment 15 Tom Tromey 2006-11-27 20:55:16 UTC
It was fixed in CVS less than 2 months ago.
The fix hasn't shown up in a distro yet.
Comment 16 Waldo 2006-12-11 01:58:31 UTC
well the bug seems to be half-fixed.  I just got the latest gnome-sessions from gentoo, and although I don't get the "save session" dialog box the first time I log out or shutdown.  Instead, the first log out/shutdown does NOTHING.  Then I have to shut down or log/out again and it works.

In other words, though the annoying dialogue seems to be gone, I do have to pulldown and log out twice.  

Re-opening to see if anyone else is still experiencing this.  The problem seems not to be the dialog, but something else.

W
Comment 17 Pierric 2006-12-15 19:42:24 UTC
Hi,

I'm experiencing it.

I installed Ubuntu Edgy a few weeks ago. At the beginning the problem did not happen. Then one day it started, but unfortunately I can't make the link with anything I installed.

For me it seems to happen in 100% of the cases. First click on the log off button shows a popup "Your session has been saved", next click actually brings the menu where you can choose to log off, reboot, shut down...

I'm not using session saving, I'm not using this apollon package that was originally suspected. My machine is i386 (AMD Athlon XP 2800+). I don't know what else I can add...

I'll be glad if someone can fix the issue!

Cheers,
Pierric.
Comment 18 Pierric 2007-02-17 16:48:01 UTC
News on this. I still have the issue but know its behavior better.

I have a last.fm client starting automatically on startup. If I let it run and tried to log off, I get the screen showing the different actions possible, and if I select shut down, I get the "Session has been saved." popup, and my PC is not shutting down. It will then shut down at the 2nd try.

If however I exit the last.fm client before I try to log off, it works directly! So what happened with the apollon package to the other people is happening to me with the last.fm client!

Cheers,
Pierric.
Comment 19 Vincent Untz 2007-05-09 20:05:43 UTC
What's probably happening here is that your programs are canceling the logout. That's not a gnome-session bug in this case. See last comments in bug 344476 for another example of this.