[frameworks-kio] [Bug 494096] Dolphin generates lots of duplicate thumbnails in /tmp
Akseli Lahtinen
bugzilla_noreply at kde.org
Fri Oct 4 15:31:54 BST 2024
https://bugs.kde.org/show_bug.cgi?id=494096
Akseli Lahtinen <akselmo at akselmo.dev> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/fram
| |eworks/kio/-/commit/9f3d680
| |248ab863faa97decff289babd6b
| |34252b
Resolution|--- |FIXED
--- Comment #3 from Akseli Lahtinen <akselmo at akselmo.dev> ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list