Bug 437590 - When Shut Down, ~/.gnome2/session file automatically is made.
Summary: When Shut Down, ~/.gnome2/session file automatically is made.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
 
Reported: 2008-03-15 00:48 UTC by sangu
Modified: 2008-03-16 04:33 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-16 04:33:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
~/.gnome2/session file (2.88 KB, text/plain)
2008-03-15 00:48 UTC, sangu
no flags Details

Description sangu 2008-03-15 00:48:49 UTC
Description of problem:
When Shutdown,  ~/.gnome2/session file automatically is made.

Log Out, Restart -> no problem.

Version-Release number of selected component (if applicable):
2.22.0-1.fc9

How reproducible:
always

Steps to Reproduce:
1.  Click Shut Down on panel
2.
3.
  
Actual results:


Expected results:


Additional info:
gdm-2.21.9-3.fc9.i386

Comment 1 sangu 2008-03-15 00:48:49 UTC
Created attachment 298108 [details]
~/.gnome2/session file

Comment 2 jmccann 2008-03-15 04:13:17 UTC
 manager.c process_save_request() has:
if (!shutdown)
	    save_selected = TRUE;

and then in maybe_write_session():

  if (autosave || save_selected || session_save)
    write_session ()


So it seems like when global save is requested without a shutdown the session is
always saved.  Which doesn't seem right.

Comment 3 Matthias Clasen 2008-03-15 17:53:07 UTC
Looks like the only way to fix this for now is to make the panel look at the
auto-save gconf key itself.


Note You need to log in before you can comment on or make changes to this bug.