Preview: better clean after standard thumbnailer
- Avoid generating thumbnails for files in /tmp for the standardthumbnailer
- Remove temp file after standard thumbnailer completion or error
- StandardThumbnailJob starts process only after connection have been set
- StandardThumbnailJob stop process when killed
- Use a Private class for StandardThumbnailJob
- store standard thumbnails in /tmp subfolder with restricted access
Testing
Uninstall kio-extras or otherwise disable the built-in plugins.
Open in dolphin two views (with split or separate window) one in /tmp and one in a folder with plenty of images.
Before: A bunch of png files were generated and left over
After: preview Files are deleted after they are generated.
I have tested it myself a bunch.
Edited by Méven Car