[kde] [Bug 508766] New: kactivitymanagerd database does not clear its data when "Clear History" is chosen from "Security & Privacy > Recent Files"

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Aug 26 15:09:48 BST 2025


https://bugs.kde.org/show_bug.cgi?id=508766

            Bug ID: 508766
           Summary: kactivitymanagerd database does not clear its data
                    when "Clear History" is chosen from "Security &
                    Privacy > Recent Files"
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: morgon.kanter at gmail.com
  Target Milestone: ---

SUMMARY
I just created and accessed two files, `test.mp4` and `testfile.tar.gz` as part
of reproducing bugs in haruna and ark, respectively. These two programs opened
these files and left entries in kactivitymanagerd's database in the process,
which can be seen via:

$ sqlite3 .local/share/kactivitymanagerd/resources/database
sqlite> SELECT * FROM ResourceInfo WHERE TargettedResource LIKE
'%testfile.tar.gz%';
/home/yourusername/testfile.tar.gz|testfile.tar.gz|application/x-compressed-tar|0|0

...and the same for test.mp4. These were created 20ish minutes ago. If I go to
`System Settings > Recent Files > Clear History > Forget the last hour`, it
says the activity history has been cleared. However, these entries in the
database remain.

STEPS TO REPRODUCE
1. Open any file in ark or haruna (or, likely, any other KDE application that
leaves a trace in kactivitymanagerd).
2. Close the application.
3. Attempt to clear history.

OBSERVED RESULT
Database entries are not removed.

EXPECTED RESULT
Database entries should be removed.

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list