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 81313 - Nautilus is not session aware
Nautilus is not session aware
Status: VERIFIED FIXED
Product: nautilus
Classification: Core
Component: general
0.x.x [obsolete]
Other Linux
: High major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 43253 46345 48189 82639 82843 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-05-10 05:03 UTC by Tomy
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
some session management (3.12 KB, patch)
2002-05-30 18:34 UTC, Dave Camp
none Details | Review

Description Tomy 2002-05-10 05:03:18 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)
Comment 1 David Fallon 2002-05-10 07:20:46 UTC
verifying this one. Quite annoying when coupled with the "mouse speed
resets to sloooow until you open the mouse capplet".
Comment 2 Dave Bordoley [Not Reading Bug Mail] 2002-05-11 05:45:02 UTC
*** Bug 46345 has been marked as a duplicate of this bug. ***
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-05-13 05:54:44 UTC
*** Bug 48189 has been marked as a duplicate of this bug. ***
Comment 4 Dave Bordoley [Not Reading Bug Mail] 2002-05-13 16:27:04 UTC
*** Bug 43253 has been marked as a duplicate of this bug. ***
Comment 5 Dave Bordoley [Not Reading Bug Mail] 2002-05-13 16:29:15 UTC
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.
-----------------------------------------------------------------------
Comment 6 Dave Bordoley [Not Reading Bug Mail] 2002-05-22 19:35:44 UTC
*** Bug 82639 has been marked as a duplicate of this bug. ***
Comment 7 Luis Villa 2002-05-25 14:13:38 UTC
*** Bug 82843 has been marked as a duplicate of this bug. ***
Comment 8 Dave Camp 2002-05-30 18:34:44 UTC
Created attachment 8858 [details] [review]
some session management
Comment 9 Dave Camp 2002-05-30 18:35:33 UTC
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.
Comment 10 Alexander Larsson 2002-05-30 23:42:48 UTC
Remove the gnome_client_set_clone_command() call, then it's fine to
commit.
Comment 11 Dave Camp 2002-05-31 00:05:41 UTC
Done.
Comment 12 Anand 2002-07-01 10:55:06 UTC
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. 
Comment 13 Dave Camp 2002-07-02 07:37:00 UTC
Good catch.  Fixed in cvs.

Comment 14 Anand 2002-09-13 09:32:04 UTC
Verifed as fixed. Closing bug. Thanks.