Bug 461351

Summary: Implement support for standard navigation keys Home/End/PgUp/PgDn in Klipper Plasma widget
Product: [Plasma] plasmashell Reporter: David Smid <david>
Component: ClipboardAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: bharadwaj.raju777, nate, nicolas.fella, qydwhotmail
Priority: NOR Keywords: junior-jobs, usability
Version: 5.26.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:

Description David Smid 2022-11-03 10:46:11 UTC
SUMMARY

Standard navigation keys Home/End/PgUp/PgDn don't work in Klipper plasma widget, only the Up/Down keys do.
This makes navigating history cumbersome while using the search function, especially if you have a long history (e.g. 1000 items). It takes a lot of time to navigate back to the top.

STEPS TO REPRODUCE
1. Click on the Klipper widget
2. Navigate history
3. Press Home/End/PgUp/PgDn keys

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
PgUp/PgDn moves up/down by multiple items in history
Home navigates to the top (the newest item in history)
End navigates to the oldest item in history

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE Tumbleweed 20221003 - X11
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2022-11-08 00:31:15 UTC
CCing two people who worked on keyboard navigation for the applet before
Comment 2 Bug Janitor Service 2022-12-30 16:32:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2464
Comment 3 Tom Warnke 2023-01-01 11:37:52 UTC
Git commit ca26d58c034341e4fd83e1476c18b003b76291d6 by Tom Warnke.
Committed on 01/01/2023 at 10:35.
Pushed by fusionfuture into branch 'master'.

[applets/clipboard] Handle navigation keys in clipboard history

M  +32   -0    applets/clipboard/contents/ui/Menu.qml

https://invent.kde.org/plasma/plasma-workspace/commit/ca26d58c034341e4fd83e1476c18b003b76291d6