BUG: Dolphin saving thumbnails to /tmp on SMB shares

Hi! I was helping a friend install arch a few days ago, and for some inexplicable reason, his /tmp/ folder filled up after accessing an SMB share. i decided to keep an eye on my /tmp/ directory and discovered that accessing folders with images or video files over an SMB share makes dolphin cache these in /tmp/. i asked about this in the KDE user help matrix room and someone independent of me is able to reproduce this.

Steps to reproduce:

  • set “Remote Storage” preview size in dolphin to something above 0MiB, 40 in my case

  • access an SMB share in dolphin by going to smb://ip/sharename

  • open a folder with a large amount of images

  • watch as /tmp gets filled up with thumbnails

this only appears to happen with SMB shares in my testing, this does not happen with local files which are correctly cached in ~/.cache

i’m running KDE 6.3.3 on linux 6.13.7-arch1-1.

Hi - just for reference, a reproducible and well-detailed bug report can be filed in the KDE Bugtracking System for review by triagers and developers, using the procedure described here: Get Involved/Issue Reporting - KDE Community Wiki

In this case, it sounds like you’re experiencing the same issue described in this existing report: 453882 – Dolphin does not remove temporary files in /tmp when thumbnailing image files from "smb:"

If so, you can add yourself to the CC list in Bugzilla to get email notifications whenever new comments are added, or the status is changed. Making sure the “Add me to CC list” option is checked, then choosing “Save Changes”, will add you: