GNOME Bugzilla – Bug 491512
The GTK Filechooser is much to slow on a larger amount of files
Last modified: 2018-05-02 14:30:09 UTC
Please describe the problem: Using the Filechooser on a directory with approx 15000+ images causes the Dialog not to respond for more than 2 minutes!! Steps to reproduce: 1. Use THE GIMP as reference 2. point the poit the "Open File" Filechooser to a dir with 15000+ images 3. sit back and wait.... Actual results: I have to wait ... Expected results: The response time could be around one second... (that's the time if I read the dir by myself and put the files in a Listview...) Does this happen every time? yes Other information:
obviously, the file chooser is not simply listing the files, so you cannot reasonably expect the file chooser to come up in just one second in a folder with 15k images. avoiding any unresponsiveness of the UI would be the goal here. since I guess the Gimp is displaying only images, I guesstimate that the bottleneck is the filtering code, but I would really like a profile. can you grab oprofile+oprofileui, or sysprof, run a test which only displays the 15k folder and filters for images MIME types for ten/twenty times and see where the time is spent? thanks.
*** Bug 553187 has been marked as a duplicate of this bug. ***
*** Bug 572617 has been marked as a duplicate of this bug. ***
*** Bug 473829 has been marked as a duplicate of this bug. ***
I have the same problem when saving jpg-files into a folder containing 30K+ jpg-files using Chromium there is a six-second delay where the Chromium GUI is unresponsive. When saving to folders that only contain about 6K jpg's there's no problem and everything is as snappy as always. Since the same behavior occurs with Firefox, I'm thinking it might have something to do with the FileChooser.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/285.