GNOME Bugzilla – Bug 81313
Nautilus is not session aware
Last modified: 2009-08-15 18:40:50 UTC
With a nautilus window open, i logged out and chose to 'Save current setup'in the logout dialog. I couldn't find my nautilus window when I logged in again. This doesn't work even if I do a manual save session on the prompt (using the 'save-session' command)
verifying this one. Quite annoying when coupled with the "mouse speed resets to sloooow until you open the mouse capplet".
*** Bug 46345 has been marked as a duplicate of this bug. ***
*** Bug 48189 has been marked as a duplicate of this bug. ***
*** Bug 43253 has been marked as a duplicate of this bug. ***
From bug 43253: (I'm not sure if this is still relevant or not) --------------------------------------------------------------- There are now two different mechanisms saving Nautilus window positions/sizes. When a NautilusWindow is closed, it saves its geometry in the directory's metadata if we're in use-separate-windows mode. The next time a window for this directory is opened, the stored geometry is used to place the window. Also, there is code in nautilus-shell.c to save the geometry of each open window on exit. The geometry information is saved into gconf. This is used the next time nautilus is launched, to restore the windows that had been displayed earlier. (I should note that in a short period of trying this out I couldn't get this to work, but I didn't investigate much.) These two mechanisms should probably be combined, or at least share more code. Right now they use different code paths both for reading and restoring the position/size. However, they also have somewhat different purposes, and it isn't completely obvious how they should interact. But we should think more about this. -----------------------------------------------------------------------
*** Bug 82639 has been marked as a duplicate of this bug. ***
*** Bug 82843 has been marked as a duplicate of this bug. ***
Created attachment 8858 [details] [review] some session management
The attached patch adds some basic session management. I'm no expert on the whole thing, but as jacob described it to me I think this is right.
Remove the gnome_client_set_clone_command() call, then it's fine to commit.
Done.
Dave: The session management for nautilus works great. I see nautilus coming up on the same workspaces and at the same position. But I also see that no nautilus windows come up, if i disable the "nautilus to draw desktop" option, and perform a save session - logout - login. Shouldn't this work in either cases (Nautilus to draw desktop, and to not draw desktop)? Reopening bug.
Good catch. Fixed in cvs.
Verifed as fixed. Closing bug. Thanks.