GNOME Bugzilla – Bug 171885
In SELECT_FOLDER mode, GtkFileChooser selects the first file entry on URI change
Last modified: 2005-08-18 11:53:01 UTC
This is very annoying. 8:57:32 <Manny> federico: on a sidenote: Is the filechooser bug (IMHO it is a bug) already fixed where in folder browser mode the first entry in the currently selected folder (set through gtk_file_chooser_set_uri) is selected when opening 18:57:53 <Manny> that way, simply pressing "Open" doesn't let the old state untouched but sets a new uri 18:58:08 <Manny> assume, I've got /home/chris/a and /home/chris/a/sub 18:58:30 <Manny> the programmer set gtk_file_chooser_set_uri (file_chooser, "/home/chris/a"); 18:58:45 <Manny> I open the filechooser and a is selected as folder with sub being selected 18:59:01 <Manny> so in browser mode, setting an URI should never auto-select any filename 18:59:37 <Manny> I always double-click the folder I want to select, because I'm used to it 19:01:31 <federico> Manny: no, that's not fixed yet
Created attachment 39348 [details] [review] Proposed patch.
duplicate of http://bugzilla.gnome.org/show_bug.cgi?id=166836 ?
It's a related bug. From a quick look, the patch looks fine. But let me check all the cases in _should_respond() thorougly; that function is rather tricky.
I just applied Manny's patch to HEAD and gtk-2-6. This indeed has nothing to do with _should_respond(); I got confused with another bug. Thanks a bunch for the patch, Manny :)
*** Bug 166836 has been marked as a duplicate of this bug. ***
*** Bug 169369 has been marked as a duplicate of this bug. ***
*** Bug 303072 has been marked as a duplicate of this bug. ***
*** Bug 306771 has been marked as a duplicate of this bug. ***
*** Bug 306089 has been marked as a duplicate of this bug. ***
*** Bug 308753 has been marked as a duplicate of this bug. ***