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 (show other bugs)
Version: 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: 2024-09-02 18:42 UTC (History)
4 users (show)

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


Attachments

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