GNOME Bugzilla – Bug 586585
Nautilus doesn't remember window position or size
Last modified: 2010-05-19 15:45:03 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
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
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.
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. :/
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?
When setting this key, everything works as expected.
*** Bug 584960 has been marked as a duplicate of this bug. ***
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.
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?
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.
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...
I fixed these two schemas in master, thanks for the patch.