Bug 501824 - temporary settings cache files do not appear to have been deleted when toggling the preview button
Summary: temporary settings cache files do not appear to have been deleted when toggli...
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.12.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-21 09:18 UTC by leaeasy
Modified: 2025-03-26 17:57 UTC (History)
2 users (show)

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


Attachments
overserved_result (86.95 KB, image/png)
2025-03-21 09:18 UTC, leaeasy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description leaeasy 2025-03-21 09:18:22 UTC
Created attachment 179624 [details]
overserved_result

when toggle  preview button, dolphin will create dolphin.xxxxx temporary file at /tmp


STEPS TO REPRODUCE
1.  toggle preview from toolbar
2.  new  dolphin.xxxxx temporary file created at /tmp directory 

OBSERVED RESULT
lots of dolphin.xxxxx file exists at /tmp directory

EXPECTED RESULT
dolphin.xxxxx temporary file should be deleted after action
Comment 1 TraceyC 2025-03-21 19:24:41 UTC
I am able to reproduce this behavior on git-master but this is not a bug, from what I'm seeing. 

If you read the text of these files, they aren't a thumbnail cache. They are Dolphin settings cache files (see below)
Therefore, one will be created each time you toggle the previews on or off, since that's a settings change. 

The files are reaped by the system at some point.  
On one system I had no dolphin files under /tmp until I started it
On that and another system, all dolphin files under /tmp were from the current day. Each is very small (63b on one system, 275b on the other)

$ cat dolphin.cUELOl 
[Dolphin]
HeaderColumnWidths=409,112,152,190,214,185
PreviewsShown=false
SortHiddenLast=true
Timestamp=2025,2,5,20,26,40.163
Version=4
ViewMode=1
VisibleRoles=CustomizedDetails,Details_text,Details_size,Details_modificationtime,Details_creationtime,Details_type,Details_path


Are you seeing a problem, such as the files taking up too much space? Or that these kinds of files stay around for many days?
Comment 2 leaeasy 2025-03-26 08:47:52 UTC
The behavior of leaving useless configuration templatory files could probably be dismissed as a bug, but it's always an appropriate behavior.
Comment 3 TraceyC 2025-03-26 17:57:31 UTC
How old are these files on your system? For me they are never more than one day old.