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 586585 - Nautilus doesn't remember window position or size
Nautilus doesn't remember window position or size
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Preferences
2.26.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 584960 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-22 01:59 UTC by Dennis Jacobfeuerborn
Modified: 2010-05-19 15:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Patch to add the missing key into the schema (1.50 KB, patch)
2010-05-19 12:42 UTC, Gregory Horvath
none Details | Review

Description Dennis Jacobfeuerborn 2009-06-22 01:59:44 UTC
Please describe the problem:
After installing Fedora 11 nautilus now always open in the top left corner with a default size. This only happens when the "always open in browser windows" option is selected. In Fedora 10 nautilus remembered window size and position.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?
yes

Other information:
[dennis@nexus ~]$ rpm -q nautilus
nautilus-2.26.3-1.fc11.x86_64
Comment 1 Fabio Durán Verdugo 2009-06-22 14:29:43 UTC
it is strange, because I try to reproduce but I always nautilus remember the last place even when i kill to X, and even with reboot.

I use Ubuntu 9.04 and GNOME 2.26.xx
Comment 2 Carlos Reding 2009-07-17 07:15:26 UTC
I confirm the problem with nautilus 2.26.3-1 in Debian Squeeze. But there is something i can't understand: if you had old gnome 2.24 stuff and upgrade to 2.26, nautilus works fine. But if you do a new install (new computer or something), directly to 2.26, nautilus won't remember size with "always open in browser windows" activated.
Comment 3 Piotr Pyclik 2009-09-06 19:55:23 UTC
The same problem with Fedora 11, Nautilus version 2.26.3. Also when upgrading Nautilus from older version, but keeping its configuration, window size is always  remembered. That's very annoying, I must say. :/
Comment 4 Peter Sääf 2009-10-02 20:48:05 UTC
I just did a fresh install of gnome 2.28 and hit this bug. It turns out the gconf key /apps/nautilus/preferences/navigation_window_saved_geometry is missing.

If I manually set this key with "gconftool-2 -s -t string /apps/nautilus/preferences/navigation_window_saved_geometry" things work as expected.

Is this functionality being moved to gvfs based metadata like for spatial mode?
Comment 5 Piotr Pyclik 2009-10-02 21:15:50 UTC
When setting this key, everything works as expected.
Comment 6 Cosimo Cecchi 2010-05-03 10:33:17 UTC
*** Bug 584960 has been marked as a duplicate of this bug. ***
Comment 7 Cosimo Cecchi 2010-05-03 10:39:15 UTC
Do you still reproduce the bug with 2.30 or current master? Here it works as expected, even after unsetting manually the GConf key you mention.
Comment 8 Peter Sääf 2010-05-03 13:49:21 UTC
I did a fresh install about a month ago and hit this bug again. I think it was with 2.30.0 all thought it may have been a 2.29.x version of nautilus.

The /apps/nautilus/preferences/navigation_window_saved_geometry key is never created. I have to create it manually with gconftool-2 after which it works as expected.

Which package is responsible for creating this key? I can't find it in http://git.gnome.org/browse/nautilus/tree/libnautilus-private/apps_nautilus_preferences.schemas.in

Or am I looking in the wrong place?
Comment 9 Gregory Horvath 2010-05-19 12:42:52 UTC
Created attachment 161431 [details] [review]
Patch to add the missing key into the schema

I have checked out the latest source, and the key is still missing.
Attached a patch to add the key to the schema.
Comment 10 Gregory Horvath 2010-05-19 12:55:45 UTC
Just a note: If a developer comes around: What about /apps/nautilus/preferences/navigation_window_saved_maximized? No schema, no usage, but it appears in my gconf...
Comment 11 Cosimo Cecchi 2010-05-19 15:45:03 UTC
I fixed these two schemas in master, thanks for the patch.