Bug 501802 - Dolphin creates recently-used.xbel even when Recent Files are disabled in System Settings
Summary: Dolphin creates recently-used.xbel even when Recent Files are disabled in Sys...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-20 18:50 UTC by Josh
Modified: 2025-03-20 18:55 UTC (History)
1 user (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 Josh 2025-03-20 18:50:42 UTC
SUMMARY
I have disabled recent files but Dolphin still creates a recently-used.xbel file.

STEPS TO REPRODUCE

1. In System Settings > Recent Files, set "Remember opened documents" to "Do not remember".

2. Move the existing recently-used.xbel file:
mv ~/.local/share/recently-used.xbel ~/.local/share/recently-used.xbel.old

3. Open Dolphin and launch a file. (I opened a text file in Kate to be sure I wasn't launching a non-QT app).

4. Verify that a file has been created:
ls -al ~/.local/share/recently-used.xbel

5. Open the file in Kate to show that it contains a list of recently opened files:
kate ~/.local/share/recently-used.xbel


OBSERVED RESULT
~/.local/share/recently-used.xbel is created when Recent Files have been set to "Do not remember".


EXPECTED RESULT
~/.local/share/recently-used.xbel should not be created when Recent Files have been set to "Do not remember".


SOFTWARE/OS VERSIONS
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-19-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Josh 2025-03-20 18:55:29 UTC
Additionally, "~/.local/share/RecentDocuments/" remains empty as expected when opening files in Dolphin and Recent Files are disabled.