GNOME Bugzilla – Bug 750996
sort-directories-first option is not synced with gtk
Last modified: 2016-11-07 15:38:58 UTC
Created attachment 305294 [details] inconsistent sorting In Nautilus, I have enabled "sort directories before files". It works. But when I use a file open dialog, the directories and files are mixed up. The option is not honored. See screenshot. The same directory is shown in the file open dialog in gedit on the left, and in nautilus on the right. gtk3-3.16.3-1.fc22.x86_64 gnome-shell-3.16.2-1.fc22.x86_64 nautilus-3.16.2-1.fc22.x86_64
Don't know what to say... it works as expected here. What does the context menu in the file chooser show ?
Ehm... it didn't really occur to me to look into the context menu of the file open dialog. I have checked "sort folders before files" and now it's OK. To my defense, I expected that this setting is shared across the system, and not that Nautilus has its own and gtk has its own (hidden in the context menu). Or is it a bug and the setting should be synced? Feel free to close if there's no intention to make this configurable in a single place (otherwise we can reassign to Nautilus, I guess). Thanks.
Nautilus should set the sort-directories-first key of the org.gtk.Settings.FileChooser schema — just like it does for the show-hidden one. Re-assigning to Nautilus.
Created attachment 339258 [details] [review] files-view, preferences: sync sort-directories-first with Gtk+ The sort-directories-first gsetting should be consistent system-wise.
Review of attachment 339258 [details] [review]: LGTM thanks!
Thank you. This was a bit annoying. Attachment 339258 [details] pushed as e1443f8 - files-view, preferences: sync sort-directories-first with Gtk+