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 673790 - Gtk File Chooser forgets sort state
Gtk File Chooser forgets sort state
Status: RESOLVED DUPLICATE of bug 674556
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2012-04-09 18:02 UTC by Chris Mohler
Modified: 2012-06-06 19:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Mohler 2012-04-09 18:02:47 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.
Comment 1 Federico Mena Quintero 2012-06-06 19:55:32 UTC
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 ***