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 171885 - In SELECT_FOLDER mode, GtkFileChooser selects the first file entry on URI change
In SELECT_FOLDER mode, GtkFileChooser selects the first file entry on URI change
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.6.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
: 166836 169369 303072 306089 306771 308753 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-28 17:12 UTC by Christian Neumair
Modified: 2005-08-18 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (1.12 KB, patch)
2005-03-28 17:13 UTC, Christian Neumair
none Details | Review

Description Christian Neumair 2005-03-28 17:12:30 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
Comment 1 Christian Neumair 2005-03-28 17:13:31 UTC
Created attachment 39348 [details] [review]
Proposed patch.
Comment 2 Sebastien Bacher 2005-04-15 17:06:09 UTC
duplicate of http://bugzilla.gnome.org/show_bug.cgi?id=166836 ?
Comment 3 Federico Mena Quintero 2005-04-15 17:40:04 UTC
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.
Comment 4 Federico Mena Quintero 2005-04-15 21:27:55 UTC
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 :)
Comment 5 Federico Mena Quintero 2005-04-15 21:39:50 UTC
*** Bug 166836 has been marked as a duplicate of this bug. ***
Comment 6 Federico Mena Quintero 2005-05-03 02:21:33 UTC
*** Bug 169369 has been marked as a duplicate of this bug. ***
Comment 7 Sebastien Bacher 2005-05-24 09:12:14 UTC
*** Bug 303072 has been marked as a duplicate of this bug. ***
Comment 8 Federico Mena Quintero 2005-06-07 21:35:58 UTC
*** Bug 306771 has been marked as a duplicate of this bug. ***
Comment 9 Christian Kirbach 2005-06-07 21:55:14 UTC
*** Bug 306089 has been marked as a duplicate of this bug. ***
Comment 10 Christian Ribbenholt 2005-08-18 11:53:01 UTC
*** Bug 308753 has been marked as a duplicate of this bug. ***