GNOME Bugzilla – Bug 788700
File chooser does not respect location-mode setting
Last modified: 2018-05-02 19:14:11 UTC
$ gsettings get org.gtk.Settings.FileChooser location-mode > 'path-bar' $ gsettings set org.gtk.Settings.FileChooser location-mode filename-entry $ gsettings get org.gtk.Settings.FileChooser location-mode > 'filename-entry' $ gsettings monitor org.gtk.Settings.FileChooser location-mode filename-entry ... ... Leave that running in terminal Use an application with a file open menu entry e.g. firefox, try to open a file, file chooser dialog displays the path bar i.e. does NOT show text entry for file selection. Sure enough back to terminal... $ gsettings monitor org.gtk.Settings.FileChooser location-mode filename-entry > location-mode: 'path-bar' $ gsettings get org.gtk.Settings.FileChooser location-mode > 'path-bar' In a reddit thread [1] someone pointed to the source code where location-mode is not loaded when the dialog opens [2] (presumably using the default) but it does save the value when closed. [3] [1] https://www.reddit.com/r/linuxquestions/comments/7579w0/gsettings_value_getting_overwritten_after_setting/ [2] https://git.gnome.org/browse/gtk+/tree/gtk/gtkfilechooserwidget.c?h=gtk-3-22#n3877 [3] https://git.gnome.org/browse/gtk+/tree/gtk/gtkfilechooserwidget.c?h=gtk-3-22#n3916
It is a private gtk setting, you don't really have any business tweaking it. It may disappear at any point.
I've also stumbled upon this bug. I thought that "filename-entry" will make possible to edit/copy/paste path in save-as dialog, but it wasn't possible. How do we edit/copy path in save dialog? Ctrl-L doesn't work.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/938.