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 531494 - GtkFileChooser lists files twice when pasting path in Location bar
GtkFileChooser lists files twice when pasting path in Location bar
Status: RESOLVED DUPLICATE of bug 500906
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2008-05-05 06:22 UTC by Miroslav Rajcic
Modified: 2008-09-10 05:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Miroslav Rajcic 2008-05-05 06:22:58 UTC
Please describe the problem:
I am using standard GtkFileChooser dialog to open the files in my program.
When using Location entry widget to paste a path in this dialog, sometimes (not every time) the dialog lists the files in this path twice!

This bug was reported to my by an user, and I could reproduce it myself on Windows build of GTK+ (v2.12.9 from http://www.gtk.org).

Steps to reproduce:
1. Start GtkFileChooser dialog
2. paste a path in location bar (for example "C:\")
3. files are listed twice


Actual results:
files in the given folder are listed twice

Expected results:


Does this happen every time?
No

Other information:
Comment 1 Rudi Effe 2008-08-10 09:22:28 UTC
Hi there,

I can confirm, that sometimes entries are listed twice each - 
cf. http://lists.debian.org/debian-devel/2008/08/msg00229.html and bug #325095

GTK filechooser is the weakest point of Gnome and prone to spoil excellent GTK based applications like Gimp or Audacity. Openoffice.org reacted by introducing an option to use a Qt based file dialogue...

Hopefully, this will be fixed soon.
Thanks
Rudi
Comment 2 Josselin Mouette 2008-08-29 21:37:02 UTC
See also:
 http://bugs.debian.org/455879
 bug#500906 (marked as fixed, but is not really)
 bug#517292
 bug#539814

All of these are probably the same underlying issue; when you use the "gtk+" filesystem backend, there’s a race condition that makes all files appear twice in several conditions.

Still valid in gtk+ 2.12.11
Comment 3 Yevgen Muntyan 2008-09-10 05:36:30 UTC
Reproduces fine in gtk-2.12.11, doesn't reproduce in 2.14. Fix for #500906 probably wasn't backported to gtk-2.12, or perhaps it wasn't really fixed then. In any case, it's fixed in 2.14, and 2.14 is the new stable release, so FIXED.

*** This bug has been marked as a duplicate of 500906 ***