GNOME Bugzilla – Bug 579958
"Other..." entry disappear in a GtkFileChooserButton
Last modified: 2013-09-23 19:41:55 UTC
Please describe the problem: When you launch an gtk+ application with a GtkFileChooserButton and have activate the "local only" property on it from a custom folder (other than the home folder, desktop folder, ...), the "Others ..." entry disappear. The consequence is we cannot choose a custom folder anymore. Steps to reproduce: 1. Create a custom folder where we gonna launch an gtk+ app with an GtkFileChooserButton set to only select local file/folder. 2. Launch from this folder this app. 3. Now the "Other ..." entry has disappear :( Actual results: The Other entry disappear, so we cannot choose a custom folder/file. Expected results: I expect the Other entry doesn't disappear. Does this happen every time? Yes Other information:
Created attachment 133179 [details] Test case
This has been annoying me in regexxer for quite a while, at least in jhbuild.
Created attachment 134352 [details] Another test case demonstrating a work-around I've digged into this a bit and found an interesting work-around. It works as long as the current directory during construction of the GtkFileChooserButton is a special directory. This is true even if the original directory is restored directly after the call to gtk_file_chooser_button_new(). I've attached a new test case to demonstrate this work-around. Hopefully this narrows it down a bit.
This is fixed now, very likely with the fixes that went in around bug #691040.