Bug 447312

Summary: Add a "Forget File"/"Forget Location" context menu action to remove individual history items in recentlyused:/
Product: [Frameworks and Libraries] frameworks-kio Reporter: Al Schaapman <kde-bugs>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: kdelibs-bugs, kfm-devel, meven.car, meven29, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 22.08
Sentry Crash Report:

Description Al Schaapman 2021-12-20 22:15:02 UTC
SUMMARY
Currently I am only aware of a context menu action (or any other method, for that matter) to remove an individual file from recentlyused:/ in the "Recent Files" section of Application Launcher and its alternatives. This leaves non-users of these widgets with no method to manage file history at the level of individual history items, and ALL users with no method to manage location history at the level of individual history items. I think that Dolphin should have context menu actions for each of these operations in recentlyused:/files/ and recentlyused:/locations/.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Comment 2 Méven Car 2022-05-31 20:35:39 UTC
Git commit ea6a8ff0e1355ac6fb8937b6be6cc81cfd4b9728 by Méven Car.
Committed on 31/05/2022 at 20:33.
Pushed by meven into branch 'master'.

Add ForgetFileItemAction

M  +9    -0    recentlyused/CMakeLists.txt
A  +80   -0    recentlyused/forgetfileitemaction.cpp     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
A  +29   -0    recentlyused/forgetfileitemaction.h     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
A  +15   -0    recentlyused/forgetfileitemaction.json
M  +11   -5    recentlyused/recentlyused.cpp
M  +8    -4    recentlyused/recentlyused.h
M  +0    -1    recentlyused/recentlyused.json

https://invent.kde.org/network/kio-extras/commit/ea6a8ff0e1355ac6fb8937b6be6cc81cfd4b9728