Bug 453882 - Dolphin does not remove temporary files in /tmp when thumbnailing image files from "smb:"
Summary: Dolphin does not remove temporary files in /tmp when thumbnailing image files...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (other bugs)
Version First Reported In: 22.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-16 10:52 UTC by temp
Modified: 2025-11-19 18:14 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Bad Dophin behaviour in /tmp/ folder (1.03 MB, video/webm)
2025-01-03 18:56 UTC, Olivier Hallot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description temp 2022-05-16 10:52:06 UTC
SUMMARY
***
Dolphin creates temporary files in /tmp when thumbnailing image files from "smb:" mounts (r/w or r/o).
Over time, these files fill /tmp
eg:
-rw------- 1 ubuntu ubuntu        0 May 16 11:38 dolphin.ExHKzo
-rw-rw-r-- 1 ubuntu ubuntu  8577350 May 16 11:38 dolphin.ExHKzo.part
-rw------- 1 ubuntu ubuntu        0 May 16 11:38 dolphin.IeQYAj
-rw-rw-r-- 1 ubuntu ubuntu 14409948 May 16 11:38 dolphin.IeQYAj.part

***


STEPS TO REPRODUCE
1. Ensure 'preview' is set to enabled for remote files in dolphin
2. Open smb mount - eg smb://192.168.1.11/photos2022_RW/3_Mar/
3. Observe as thumbnails are generated increasing number of files in /tmp/ - these are never removed

OBSERVED RESULT
-rw------- 1 ubuntu ubuntu        0 May 16 11:38 dolphin.ExHKzo
-rw-rw-r-- 1 ubuntu ubuntu  8577350 May 16 11:38 dolphin.ExHKzo.part
-rw------- 1 ubuntu ubuntu        0 May 16 11:38 dolphin.IeQYAj
-rw-rw-r-- 1 ubuntu ubuntu 14409948 May 16 11:38 dolphin.IeQYAj.part

EXPECTED RESULT
No objection to files being created in order to thumb - but should be removed post thumbnail

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Dolphin version 4:21.12.3-0ubuntu1
Note: Does not appear to happen when mounting the same location via sshfs - only via smb
Note2: Does appear some of the files are created and subsequently removed - but not all
Comment 1 Paul Worrall 2024-09-02 18:42:20 UTC
I'm seeing this too.  
It's not difficult to fill up /tmp by browsing a photo collection via the smb kioslave. 
Should this bug be reassigned to the kioslave?

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Graphics Platform: Wayland
Memory: 7.7 GiB of RAM
Comment 2 Olivier Hallot 2025-01-03 18:56:53 UTC
Created attachment 177074 [details]
Bad Dophin behaviour in /tmp/ folder
Comment 3 Olivier Hallot 2025-01-03 18:58:09 UTC
Seen this bug in 

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-13-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i7-1355U
Memory: 14.8 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Dell Inc.
Product Name: Latitude 3550
Comment 4 Steve Vialle 2025-04-12 09:47:32 UTC
Still present in plasma 6.2.5 / dolphin 24.12.3. 
This renders the smb:// kioslave near unusable.

Combine this with the miserable ui-freezing behaviour of plasma / dolphin on non-kio network mounts (too many bug reports to count, going back many years) and the "just use kio, that's what it's for" comments that issue keeps attracting... 
What purpose exactly does a file manager that can't gracefully handle network mounts or thumbnails serve, in 2025?