Summary: | Dolphin generates lots of duplicate thumbnails in /tmp | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Rikka <rikka> |
Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kdelibs-bugs-null, kfm-devel, meven29, rikka, sitter, tagwerk19 |
Priority: | NOR | ||
Version First Reported In: | 6.6.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/9f3d680248ab863faa97decff289babd6b34252b | Version Fixed In: | |
Sentry Crash Report: |
Description
Rikka
2024-10-04 09:17:42 UTC
Caused by the new external thumbnailer tech. Since the path is /tmp the save conditional in ::saveThumbnailData doesn't bite and we keep generating new thumbnails. The fact that it keeps them around is bug #494061 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1728 Git commit 9f3d680248ab863faa97decff289babd6b34252b by Akseli Lahtinen. Committed on 04/10/2024 at 14:31. Pushed by akselmo into branch 'master'. previewjob: Use .cache as temp folder, delete temp file after use Current solution moves items into `/tmp/` which is not good, since any user can see thumbnail images from there. The files are also not deleted after the image is generated. This moves the tmp files into `~/.cache/thumbnails/size/tmp/` and then when the thumbnailer is done, the file is removed. We also do not use standard thumbnailers if caching is turned off, since we do not have thumbnail folder in the first place, and the thumbnailers rely on that. Related: bug 494061 M +11 -3 src/gui/previewjob.cpp https://invent.kde.org/frameworks/kio/-/commit/9f3d680248ab863faa97decff289babd6b34252b *** This bug has been marked as a duplicate of bug 494061 *** |