Summary: | Recent files don't show up | ||
---|---|---|---|
Product: | [Unmaintained] kactivitymanagerd | Reporter: | Jin Liu <ad.liu.jin> |
Component: | general | Assignee: | Ivan Čukić <ivan.cukic> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bugseforuns, feus73, meven29, meven, nate, plasma-bugs-null, vexxed975 |
Priority: | HI | Keywords: | qt6, regression |
Version First Reported In: | 5.90.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kactivitymanagerd/-/commit/e42bc4ccccb4c65df58bd6d2a925c2618b16a630 | Version Fixed In: | 6 RC1 |
Sentry Crash Report: |
Description
Jin Liu
2023-12-11 12:35:39 UTC
Running sqlitebrowser ~/.local/share/kactivitymanagerd/resources/database shows that ResourceEvent.targettedResource doesn't contain file paths anymore, so the two tables can no longer be joined. dbus-monitor shows that current infomation was sent to kactivitymanagerd: method call time=1702290706.544480 sender=:1.4430 -> destination=org.kde.ActivityManager serial=73 path=/ActivityManager/Resources; interface=org.kde.ActivityManager.Resources; member=RegisterResourceEvent string "org.kde.kwrite" uint32 0 string "/home/jin/kde/src/attica/AUTHORS" uint32 0 method call time=1702290706.544518 sender=:1.4430 -> destination=org.kde.ActivityManager serial=74 path=/ActivityManager/Resources; interface=org.kde.ActivityManager.Resources; member=RegisterResourceMimetype string "/home/jin/kde/src/attica/AUTHORS" string "text/x-authors" method call time=1702290706.544544 sender=:1.4430 -> destination=org.kde.ActivityManager serial=75 path=/ActivityManager/Resources; interface=org.kde.ActivityManager.Resources; member=RegisterResourceTitle string "/home/jin/kde/src/attica/AUTHORS" string "AUTHORS" *** Bug 478665 has been marked as a duplicate of this bug. *** Note that this bug was originally about not having recent files at all when it's _enabled_. It's not about unable to disable recent files. How did you open the text file ? With which program ? Double clicking with dolphin ? From the command line ? (In reply to Méven Car from comment #4) > How did you open the text file ? > With which program ? KWrite > Double clicking with dolphin ? From the command line ? Both double clicking in Dolphin, and from the menu in KWrite. Either way, it inserts a record in ResourceInfo table, but no corresponding record in ResourceEvent or ResourceScoreCache table. BTW, seems that clearing history doesn't clear the ResourceInfo table. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kactivitymanagerd/-/merge_requests/67 (In reply to Jin Liu from comment #6) > BTW, seems that clearing history doesn't clear the ResourceInfo table. That's a different bug. Feel free to report it. I am taking care of it. (In reply to Méven Car from comment #8) > (In reply to Jin Liu from comment #6) > > BTW, seems that clearing history doesn't clear the ResourceInfo table. > > That's a different bug. Feel free to report it. > I am taking care of it. https://bugs.kde.org/show_bug.cgi?id=478876 Git commit e42bc4ccccb4c65df58bd6d2a925c2618b16a630 by Méven Car. Committed on 22/12/2023 at 11:52. Pushed by meven into branch 'master'. StatsPlugin: allow local files to be added to ResourceCache hasMatch has diferrent semantics between QRegeyp and QRegularExpression. We want the old exactMatch behavior matching on the entirety of the string. M +1 -1 src/common/database/Database.h https://invent.kde.org/plasma/kactivitymanagerd/-/commit/e42bc4ccccb4c65df58bd6d2a925c2618b16a630 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kactivitymanagerd/-/merge_requests/68 *** Bug 479016 has been marked as a duplicate of this bug. *** |