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 149535 - GtkFileChooser in file-open, select-multiple mode allows selection of multiple directories
GtkFileChooser in file-open, select-multiple mode allows selection of multipl...
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.4.x
Other All
: Normal normal
: Small fix
Assigned To: gtk-bugs
gtk-bugs
: 149533 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-08-06 20:41 UTC by milosz derezynski
Modified: 2018-02-10 03:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch on 2.20.1 (1.91 KB, patch)
2010-08-19 17:55 UTC, Laurent Wan
none Details | Review

Description milosz derezynski 2004-08-06 20:41:56 UTC
GtkFileChooser with GTK_FILE_CHOOSER_ACTION_OPEN in select-multiple mode allows
to select multiple directories which results in inability to use the default
widget (button) to enter a directory
Comment 1 Federico Mena Quintero 2004-08-10 22:00:02 UTC
We should use gtk_tree_selection_set_select_function() with a callback that
tests for a folder already being selected.  In that case, return false.  This
should of course only be done in the appropriate combinations of the
GtkFileChooserAction and multiple selection mode.
Comment 2 Federico Mena Quintero 2004-08-10 22:59:42 UTC
*** Bug 149533 has been marked as a duplicate of this bug. ***
Comment 3 Laurent Wan 2010-08-19 17:55:18 UTC
Created attachment 168305 [details] [review]
patch on 2.20.1
Comment 4 Laurent Wan 2010-08-19 17:58:05 UTC
this patch prevent the selection of a directory when there is already a directory selected in OPEN action and multiple select mode.
Comment 5 Matthias Clasen 2018-02-10 03:33:01 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.