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 520663 - GtkFileChooser slow on large directories
GtkFileChooser slow on large directories
Status: RESOLVED DUPLICATE of bug 322314
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.13.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2008-03-06 03:43 UTC by Luke Hutchison
Modified: 2008-04-02 17:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Luke Hutchison 2008-03-06 03:43:24 UTC
Please describe the problem:
When opening a large directory in GtkFileChooser (e.g. /usr/bin), the file chooser can become unresponsive while it thrashes the disk for a long time.  Listing the same directory from a terminal takes an order of magnitude less time.

Is it possible to quickly populate the file chooser list with filenames first, and then go back and asynchronously fill in details like modification time later, if that's where the extra disk activity is coming from?  Is there a reason this takes so much longer than listing the directory from the console (e.g. does gnome-vfs2 require one round-trip per file in the directory, and is this fixed in gvfs)?

This is particularly a problem in firefox, because its "Open With" system is broken, and you often need to go find the correct binary to open a certain filetype with.  Just typing in a path that includes /usr/bin causes the file chooser to jump to that directory and then the file chooser locks up for 10 seconds.



Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Federico Mena Quintero 2008-04-02 17:09:43 UTC

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