Bug 452974

Summary: Thumbnails not generating inside directories with 1000+ files
Product: [Frameworks and Libraries] kio-extras Reporter: dans64
Component: Thumbnails and previewsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kdelibs-bugs-null, nate, tomtomtomreportingin
Priority: NOR    
Version First Reported In: 22.04.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: certain thumbnails are not generated, the files are not corrupt, i will see if i can get a video recorded of this

Description dans64 2022-04-25 05:58:33 UTC
Created attachment 148348 [details]
certain thumbnails are not generated, the files are not corrupt, i will see if i can get a video recorded of this

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. have a directory with lots of files (7000+ in my Pictures folder in my case)
2. choose program that uses kde file picker to upload/save file and go to said directory

OBSERVED RESULT
certain files will not have thumbnails generated, does not matter the file size, seems to be random. mouseover the images without thumbnails will generate them.

EXPECTED RESULT
all thumbnails should be generated

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.4-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series

ADDITIONAL INFORMATION
All thumbnails are generated in Dolphin properly, only the upload/save dialogs have this problem for me. default dolphin thumbnail generation options too with no filesize restrictions.
Comment 1 tomtomtomreportingin 2022-08-22 02:26:16 UTC
I can confirm this. It ONLY happens in the file picker with folders of large amounts of images, as it doesn't seem to be a problem at all in Dolphin. Sometimes you can "nudge" it to generate more thumbnails by changing icon sizes, but it doesn't work most of the time, and often makes you lose your place. This is very annoying. Mousing over the thumbnail doesn't have any effect in my case.
Comment 2 tomtomtomreportingin 2022-11-18 20:18:42 UTC Comment hidden (spam)
Comment 3 Nate Graham 2022-11-18 20:23:18 UTC Comment hidden (spam)
Comment 4 tomtomtomreportingin 2022-11-18 20:47:18 UTC Comment hidden (spam)
Comment 5 Nate Graham 2022-11-21 21:02:42 UTC Comment hidden (spam)
Comment 6 tomtomtomreportingin 2023-01-07 02:24:35 UTC
Perhaps notably, this issues occurs regardless if the user is using an SSD or not, opposed to HDD.