| Summary: | ark does not respect plasma activity settings "tracking file and app use" | ||
|---|---|---|---|
| Product: | [Applications] ark | Reporter: | morgon.kanter |
| Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | contact, rthomsen6, silverhammermba |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
morgon.kanter
2025-08-26 13:56:34 UTC
I just tested this as well: it also does not respect "Clear history" from System Settings > Recent Files. I dug into this a little and the root cause is pretty simple: Ark isn't using activities at all. It uses KRecentFilesMenu from kwidgetsaddons which simply stores recent files in an INI file at ~/.local/share/ark/ark_recentfiles. See https://github.com/KDE/kwidgetsaddons/blob/master/src/krecentfilesmenu.cpp#L120 I'm not sure what the right fix is. Either Ark could be updated to not use KRecentFilesMenu and instead use the activities API directly or KRecentFilesMenu could be updated to use activities itself. |