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
I just tested this as well: it also does not respect "Clear history" from System Settings > Recent Files.