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 618696 - Remember window size
Remember window size
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.30.x
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-15 09:32 UTC by Mildred
Modified: 2011-01-10 09:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mildred 2010-05-15 09:32:11 UTC
I have a very small scereen (it's not extreme, but 1024x600 is not very large either) and when I start Nautilus, the window is far too large and take most of the screen space.

To save space, I reduced the icon size to 75%, but then, the window is now largely empty. I have to resize it manually each time.

Spatial mode remembered the size for each folder, and that was neat, now that the browser mode is the default, I'd like Nautilus to remember its last window size. That would of course not be a per-folder setting, but a general setting for all browse windows.
Comment 1 Allan Day 2010-06-25 13:09:16 UTC
The default window size is covered by other bugs. Let's use this to track the consistency issue.
Comment 2 Allan Day 2010-07-17 11:37:15 UTC
This seems to be a Compiz issue - it works fine with Metacity/Mutter (new windows inherit the dimensions of the last/only Nautilus window to be open).
Comment 3 Atri 2010-07-28 10:56:56 UTC
(In reply to comment #2)
> This seems to be a Compiz issue - it works fine with Metacity/Mutter (new
> windows inherit the dimensions of the last/only Nautilus window to be open).

Not for me. Even when I do not use compiz, a new nautilus window always launches with the default size, no matter how I have resized the last window. There is no difference between behaviours while using compiz and metacity as the window manager. Also to mention, most other gtk applications I use do remember their resized state even when using compiz.

GNOME 2.30.0, openSUSE 11.3
GNOME nautilus 2.30.1
metacity 2.30.1
Comment 4 Atri 2010-08-20 12:56:35 UTC
In GNOME 2.22 nautilus set a gconf key /apps/nautilus/preferences/navigation_window_saved_geometry which took the value corresponding to the last nautilus window size and position. This gconf key is no longer set as far as I can see in GNOME 2.30.0 [nautilus 2.30.1]. If the key is already set (for example from a previous install), then nautilus 2.30.1 reads it correctly and saves it correctly every time. All that is required therefore, in my opinion, is to set the key at install time to an appropriate default.
Comment 5 Frederic Crozat 2011-01-10 09:49:49 UTC
the key was missing from schemas in nautilus 2.30.x and this was fixed in 2.32.0

to workaround the issue on 2.30 and before, run :

gconftool-2 --set /apps/nautilus/preferences/navigation_window_saved_geometry --type string 10x10 

one time and then resize the window, size will be remembered.

Closing as fixed for 2.32