Bug 508764 - haruna does not respect plasma activity settings "tracking file and app use"
Summary: haruna does not respect plasma activity settings "tracking file and app use"
Status: REPORTED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-26 14:02 UTC by morgon.kanter
Modified: 2025-08-26 14:10 UTC (History)
0 users

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 morgon.kanter 2025-08-26 14:02:37 UTC
SUMMARY
If you create an activity that disallows "Tracking file and app use", haruna still tracks the recently played files. What's more, it always remembers the last played file, and even clearing the recently played list still remembers it.

STEPS TO REPRODUCE
1. Create an activity that disallows "Tracking file and app use".
2. On the command line outside of KDE create a test video: `ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p testsrc.mp4`
3. Switch to the activity.
4. Open haruna, and open the newly created "testsrc.mp4" file.
5. Close and re-open haruna.

OBSERVED RESULT
The "testsrc.mp4" file appears in the recent files list. It also appears in the kactivitymanagerd database:
$ sqlite3 .local/share/kactivitymanagerd/resources/database
sqlite> SELECT * FROM ResourceInfo WHERE TargettedResource LIKE '%testsrc.mp4%';
/home/yourusername/testsrc.mp4|testsrc.mp4|video/mp4|0|0


EXPECTED RESULT
It should not appear in the recent files list or as an entry in the kactivitymanagerd database.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1080
Comment 1 morgon.kanter 2025-08-26 14:10:32 UTC
I just tested this as well: it also does not respect "Clear history" from System Settings > Recent Files.