Bug 420951 - "Recent Locations" item
Summary: "Recent Locations" item
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 5.18.4
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Alexander Lohnau
URL:
Keywords:
: 426610 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-03 13:24 UTC by Paolo Zamponi
Modified: 2026-04-25 07:56 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Zamponi 2020-05-03 13:24:49 UTC
SUMMARY
Now we have Recent/Often-Used Documents/Applications/contacts, but in the "Documents" one there are both documents and "Locations" (e.g. the folders I visited with Dolphin). So a new Recent/Often-Used Locations entry could be welcome :) ...

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Comment 1 spiesant 2020-07-08 05:06:19 UTC
Agreed - for clarity, I'd hoped to get a "Recent Documents" menu that actually represents "recent documents" - similarly to on Windows.  As Plasma 5's "Recent Documents" menu is cluttered with a mix of actual "recent documents" AND "recent locations" together, very few actual documents are shown.  They're rapidly pushed out of the menu by virtue of simply browsing around the filesystem.
Comment 2 Alexander Lohnau 2020-07-11 06:48:38 UTC
Yep, this should be changed. Especially with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/150/
Comment 3 spiesant 2020-07-12 19:26:15 UTC
Question: is there any way to manually clean out all the locations from 'Recent Documents?'  Then I could at least 'fix' it with a cronjob or a hotkey.  I tried deleting ~/.local/share/user-places.xbel, but that didn't do it.
Comment 4 spiesant 2020-07-12 20:20:07 UTC
The following seems to be working:

sqlite3 ~/.local/share/kactivitymanagerd/resources/database "DELETE FROM ResourceScoreCache WHERE initiatingAgent = 'dolphin';" ; pkill -f kactivitymanagerd ; /usr/lib/x86_64-linux-gnu/libexec/kactivitymanagerd &

Not sure if this really safe or recommended, but at least it does seem to clear out all the clutter & make the menu behave properly if or until an official solution exists...
Comment 5 Bug Janitor Service 2020-07-13 19:49:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/153
Comment 6 Alexander Lohnau 2020-07-14 09:55:06 UTC
Git commit 72c6daa6364dccb894fe55af84acf6db7e709ebf by Alexander Lohnau.
Committed on 14/07/2020 at 09:54.
Pushed by alex into branch 'master'.

Display only recent documents in Kickers "Recent Documents"

M  +1    -1    applets/kicker/plugin/recentusagemodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/72c6daa6364dccb894fe55af84acf6db7e709ebf
Comment 7 Alexander Lohnau 2020-09-16 14:42:18 UTC
*** Bug 426610 has been marked as a duplicate of this bug. ***
Comment 8 Paolo Zamponi 2020-10-22 06:43:03 UTC
Hi, opened another bug report (https://bugs.kde.org/show_bug.cgi?id=428085). Since those problems didn't affect Plasma 5.19 and previous version, could they be related to this fix?
Comment 9 Méven Car 2020-11-01 14:44:32 UTC
(In reply to Paolo Zamponi from comment #8)
> Hi, opened another bug report (https://bugs.kde.org/show_bug.cgi?id=428085).
> Since those problems didn't affect Plasma 5.19 and previous version, could
> they be related to this fix?

It might but I can't be sure.
I am familiar with the underlying library and I reviewed the change and nothing looks suspicious. It might be but indirectly.
Unfortunately I can't test and confirm right now.
Comment 10 Bug Janitor Service 2026-04-09 08:48:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6483
Comment 11 Bug Janitor Service 2026-04-09 08:57:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3651
Comment 12 cwo 2026-04-22 10:17:33 UTC
Git commit e0a0be206635f7c4bb926a0b5bcd1cd2c18520c5 by Christoph Wolk.
Committed on 22/04/2026 at 09:50.
Pushed by cwo into branch 'master'.

applets/kicker: add locations option to RecentUsageModel/rootModel

Kickoff has recently/often used locations as part of the history, but
kicker and kickerdash only offer applications and files.

This change implements an OnlyLocations type in RecentUsageModel, and
adds a property to optionally add one to the RootModel.

M  +12   -3    applets/kicker/recentusagemodel.cpp
M  +1    -0    applets/kicker/recentusagemodel.h
M  +33   -1    applets/kicker/rootmodel.cpp
M  +7    -0    applets/kicker/rootmodel.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/e0a0be206635f7c4bb926a0b5bcd1cd2c18520c5
Comment 13 cwo 2026-04-22 17:07:44 UTC
Git commit bd077886a9d98874fb06a2f392fad4ca742d72ed by Christoph Wolk.
Committed on 22/04/2026 at 15:21.
Pushed by cwo into branch 'master'.

applets/kicker: add Recent/Often Used Places option

Kickoff has recently/often used places as part of the history, but
kicker and kickerdash only offer applications and files.

This change adds the option to have this as an entry in the main kicker
view or dash sidebar.
FIXED-IN: 6.7.0

M  +9    -0    applets/kicker/ConfigGeneral.qml
M  +1    -1    applets/kicker/ItemGridDelegate.qml
M  +1    -1    applets/kicker/ItemListDelegate.qml
M  +1    -0    applets/kicker/main.qml
M  +4    -0    applets/kicker/main.xml

https://invent.kde.org/plasma/plasma-desktop/-/commit/bd077886a9d98874fb06a2f392fad4ca742d72ed
Comment 14 Nate Graham 2026-04-24 20:39:10 UTC
Really nice! Maybe we can turn it on by default, too?