[kde] [Bug 459182] KDE filechooser hangs in directories with many images

Alex bugzilla_noreply at kde.org
Fri Sep 16 11:08:34 BST 2022


https://bugs.kde.org/show_bug.cgi?id=459182

Alex <allo at laxu.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |REPORTED
         Resolution|WAITINGFORINFO              |---

--- Comment #2 from Alex <allo at laxu.de> ---
It also happens with kdialog --getopenurl
I think it is a bit different from the bug before, as it does not hang
completely.

- The file list changes quite some time after opening the dialog
- I can select a file (when I am fast enough while the list still changes) and
the name gets into the name field
- I can scroll, but it stutters
- clicking open doesn't react right away. I think it doesn't wait for the
sorting/thumbnailing? to finish completely, but it certainly seems to wait for
some pause/thread change or similar

When thumbnails are active, I get quite a few messages about files with issues
in the terminal, e.g.

qt.gui.icc: fromIccProfile: failed minimal tag size sanity
libpng warning: iCCP: known incorrect sRGB profile
Corrupt JPEG data: 1 extraneous bytes before marker 0xdb

which are probably rather harmless warnings from the thumbnailer and should at
most result in a broken thumbnail.

But when disabling thumbnails, I still get a list that changes for a few
seconds, a stuttering interface and a progress bar with 0% in the lower left
(Isn't that for the thumbnails?) and the list itself is responsive (with small
stutters) after it stopped changing after 2-3 seconds, but clicking the open
button takes another 3 seconds.

The filesystem is BTRFS.
Some numbers about the image folder and how fast simple command line tools are:

$ ls|wc -l
27875

find -type f|wc -l
45651

$ time ls -t >/dev/null 
real    0m0,045s
user    0m0,011s
sys     0m0,034s

$ time ls -tR >/dev/null 
real    0m0,075s
user    0m0,020s
sys     0m0,055s

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list