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: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 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-04-25 03:47 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.
Comment 4 Bug Janitor Service 2025-04-10 03:46:53 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-04-25 03:47:26 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.