GNOME Bugzilla – Bug 673790
Gtk File Chooser forgets sort state
Last modified: 2012-06-06 19:55:32 UTC
The gtk+ 2.x file chooser started to remember the sorting state at some point. Having just moved to gtk 3.0, I really miss that feature. 90% of the time, I'm looking to open the most recent file or files in a particular project directory. On a possibly related note, I used dconf-editor to modify org.gtk.settings.file-chooser. I changed 'sort-column' to 'modified' and 'sort-order' to 'descending'. That changed the default sort order in gedit, but not in other programs: GIMP, Chromium, etc.- hence the report. I could live with the file-chooser forgetting the sort state if I could set it to sort by modified by default. Steps to reproduce: 1. Launch Chromium (or GIMP). 2. File->Open, click on 'Modified' column to sort, open a file. 3. File->Open. Expected Result: Files to be sorted by Modified until an alternate sort is selected. Actual Result: Files are sorted by Name.
This works fine in GTK+ 3.x. It doesn't work in GTK+ 2.24.10 and a few earlier revisions. It will be fixed in 2.24.11. Please see the duplicate bug for details. *** This bug has been marked as a duplicate of bug 674556 ***