Bug 467774

Summary: High CPU usage when a video content is changing (like in downloads/renders)
Product: [Frameworks and Libraries] kio-extras Reporter: Mohammad K. <mokazemi>
Component: Thumbnails and previewsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: jessica, miranda
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mohammad K. 2023-03-25 12:29:00 UTC
SUMMARY
***
When a file content is changing (like dwnloading a video or rendering), if the file directory is open in Dolphin, it tries to generate a thumbnail every moment, which causes a high cpu usage.
***


STEPS TO REPRODUCE
1. Enable file thumbnails in Dophin
2. Open a directory 
3. Start downloading a video in that directory
4. See the high CPU usage of thumbnail generator

SOFTWARE/OS VERSIONS

KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Jessica M 2023-12-20 22:33:28 UTC
I can confirm that this also happens to me. When copying a movie from a network drive for example, my CPU usage skyrockets because a ton of kioworkers start generating a new thumbnail every time the file is modified, which is constantly. If I disable thumbnails for videos it doesn't happen.