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 524295 - remember the file chooser side pane's position
remember the file chooser side pane's position
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.6.x
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2008-03-25 12:19 UTC by Jean-François Fortin Tam
Modified: 2012-11-15 02:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
filechooser: remember sidebar width (4.14 KB, patch)
2012-11-14 12:14 UTC, Jonny Lamb
none Details | Review

Description Jean-François Fortin Tam 2008-03-25 12:19:01 UTC
I don't know if this has already been reported, but the filechooser's side pane on the left does not remember its width. It should.
Comment 1 Tomasz Sałaciński 2009-12-10 21:57:18 UTC
I can confirm it. It always uses its minimum width.
Comment 2 Jean-François Fortin Tam 2011-01-17 03:58:36 UTC
Although this was originally reported in gtk 2.12 and earlier, this hasn't changed and I'm still seeing this with gtk 2.22. It might be worth putting on a gtk3 wishlish (if there's such a thing) or gnome-love...
Comment 3 Federico Mena Quintero 2012-10-23 15:51:05 UTC
See settings_save() and settings_load() in gtk+/gtk/gtkfilechooserdefault.c.  You should be able to add an integer configuration key for the width of the sidebar.
Comment 4 Jonny Lamb 2012-11-14 12:14:22 UTC
Created attachment 228959 [details] [review]
filechooser: remember sidebar width

Here's a patch which seems to work. I tried to make the diffstat as small as possible. Also not sure how you feel about this 148 default (611cf84) being in the gschema file.
Comment 5 Federico Mena Quintero 2012-11-15 02:07:26 UTC
Awesome.  This is exactly the way I wanted it to be :)  Thanks!  I've pushed it to gtk+ master as commit 2f8c2a3244.