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 343406 - Gnome-sessions does not adhere to setting "ask on logout"
Gnome-sessions does not adhere to setting "ask on logout"
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
unspecified
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 330500 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-30 16:00 UTC by Max Powers
Modified: 2007-02-18 00:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
quick patch I hacked up (611 bytes, patch)
2006-11-29 23:29 UTC, Ray Strode [halfline]
committed Details | Review

Description Max Powers 2006-05-30 16:00:13 UTC
Please describe the problem:
Gnome-sessions asks on logout regardless if the option is checked or not in
Session Manager.

Steps to reproduce:
1. Open Desktop/Preferences/Sessions
2. Uncheck Ask on Logout
3. Logout


Actual results:
A window still pops up asking if you would like to logout.

Expected results:
Gnome should simply logout as was with the previous 2.12.X release.

Does this happen every time?
Yes, 100% reproducible.

Other information:
Comment 1 Andrea Vettorello 2006-07-06 14:25:07 UTC
IIRC the "Ask on logut" option was about asking the user to save the session on logout, not asking the confirmation to logout.

Anyway, i think this bug report should not be closed cause if the option is checked, it's still not asked on logout to save a session... (=
Comment 2 Max Powers 2006-07-06 14:38:48 UTC
But why is there a default "Log out of this sytem now" screen that was not present in GNOME 2.12? And why is there no option to remove it?

"Ask on logout" is inherently wrong then because the user has no idea what you are being "asked." Also what is the option to "Automatically save changes to session" do? I thought that was responsible for the logout confirmation for the session. If you have it checked, it will just logout and autosave the last session, if you leave it blank, then it will ask you upon logout if you want it saved?

Doesn't that describe the behaviour you are claiming?

What you purport means that you have two options (one rather ambiguous one) doing the same thing.

Cheers
Comment 3 Andrea Vettorello 2006-07-06 15:32:00 UTC
> What you purport means that you have two options (one rather ambiguous one)
> doing the same thing.

Mmmh, you are right, the documentation (http://gnome.org/learn/users-guide/2.14/prefs-sessions.html) mention the "Prompt on logout" and probably is what right now is called "Ask on logout", so i was way wrong, the bug is report is correct, sorry for that.

And yes, if "Automatically save changes to session" is unchecked isn't asked on logout to save the session.

I can confirm this behaviour on Debian, so i've changed the status of this report.
Comment 4 Max Powers 2006-07-06 15:43:01 UTC
Thanks Andrea
Comment 5 Ray Strode [halfline] 2006-11-29 23:22:53 UTC
gnome-panel provides the logout dialog now, reassigning...
Comment 6 Ray Strode [halfline] 2006-11-29 23:29:18 UTC
Created attachment 77390 [details] [review]
quick patch I hacked up

We've gotten this bug reported downstream in a RHEL beta 2 bug report.  This is what I came up with really quickly to address the problem.  It's not super tested though, and I have to catch a train!
Comment 7 Vincent Untz 2007-01-14 23:13:44 UTC
Thanks
Comment 8 Vincent Untz 2007-02-18 00:53:04 UTC
*** Bug 330500 has been marked as a duplicate of this bug. ***