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 43253 - Should reconcile saving window positions at exit and when window is closed
Should reconcile saving window positions at exit and when window is closed
Status: RESOLVED DUPLICATE of bug 81313
Product: nautilus
Classification: Core
Component: general
0.x.x [obsolete]
Other Linux
: Normal normal
: old
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2000-09-22 16:56 UTC by John Sullivan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Sullivan 2001-09-10 00:40:07 UTC
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.



------- Additional Comments From sullivan@eazel.com 2000-09-25 08:10:58 ----

High time estimate because I don't understand the save-and-restore-at-exit code
well.



------- Additional Comments From darin@bentspoon.com 2000-09-25 10:42:35 ----

The real key here is that we need a way to test the Nautilus restart mechanism without 
updating Nautilus.



------- Additional Comments From eli@eazel.com 2000-10-16 19:39:59 ----

Batch-assigning QA ownership of remaining bugs to eli@eazel.com



------- Additional Comments From sullivan@eazel.com 2000-11-28 14:18:35 ----

Another pass at deferring some p5 bugs.



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:40 -------
Comment 1 John Fleck 2002-01-05 04:16:02 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 Dave Bordoley [Not Reading Bug Mail] 2002-05-13 16:27:06 UTC
marking as a dupe of bug 81313, which is a more general session
management bug. Will add relevant comments there.

*** This bug has been marked as a duplicate of 81313 ***