I use the klipper popup at mouse position and the arrows to navigate through the entries of the history. Currently, this is not possible to press the Delete key to remove an entry from the history. Although we can do it from the tray popup with the "Remove from history" button. SOFTWARE/OS VERSIONS Linux: 5.12.9 KDE Plasma Version: 5.21.5
This would be very helpful! An option to clear the entire history would also be welcome.
Good idea!
Working on this.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/995
Git commit 8416e3de662ee8075e2ffd0c71589ffdecd1f6b3 by Nate Graham. Committed on 06/08/2021 at 16:15. Pushed by ngraham into branch 'master'. [applets/clipboard] Delete items with delete key Pressing the delete key will now delete the highlighted list item under any of the following circumstances: 1. A list item is selected and has focus 2. A list item is selected and the search field has focus but it is empty or the insertion point is at the end of the string (in either case, pressing the delete key would otherwise do nothing) This allows quickly and easily deleting clipboard items using only the keyboard, including after using the search field to filter it down. FIXED-IN: 5.78 M +3 -0 applets/clipboard/contents/ui/ClipboardItemDelegate.qml M +13 -0 applets/clipboard/contents/ui/ClipboardPage.qml https://invent.kde.org/plasma/plasma-workspace/commit/8416e3de662ee8075e2ffd0c71589ffdecd1f6b3
Thank you!!! :D
You're very welcome!
Nate, I think what was meant was deleting the entry right in the Klipper popup that appears on the Meta+V hotkey.
(In reply to popov895 from comment #8) > Nate, I think what was meant was deleting the entry right in the Klipper > popup that appears on the Meta+V hotkey. Oh! Isn't it what Nate did? Maybe the change he did in `ClipboardItemDelegate.qml` works for the popup and the standard "tray icon page" (which comes with Invoke action and Barcode). If it's not the case, maybe the file that needs to be changed is `/klipper/klipperpopup.cpp`. I can't test which was made because I don't know (and prefer not to) build it on my own.
Yes, I implemented this for the applet popup. Oops. If you want it for the menu that appears under the mouse as well, please file another bug report for that. :)