[frameworks-kio] [Bug 494061] Dolphin spam creating images in /tmp/
Akseli Lahtinen
bugzilla_noreply at kde.org
Fri Oct 4 15:31:46 BST 2024
https://bugs.kde.org/show_bug.cgi?id=494061
--- 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 494096
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