https://bugs.kde.org/show_bug.cgi?id=500594

--- Comment #3 from cwo <cwo....@posteo.net> ---
Git commit 7a8f7e2401fbeffc86a4f47776e52da17cb3c73e by Christoph Wolk.
Committed on 24/02/2025 at 10:45.
Pushed by cwo into branch 'master'.

klipper: don't scroll on Arrow Down in clear button

Arrow Down from the search bar in the klipper popup moves the
currentIndex and focuses the ListView, but the clear button right next
to it has no special handler for this. The arrow key falls back to the
ScrollView, which scrolls the view by a substantial amount. This breaks
the typical arrow key interaction pattern in the popup and feels rather
confusing.

Instead, handle it the same way as arrow down on the search field. Arrow
Up is left unchanged, as the current behavior on both controls (scolling
the view up) can be useful in case the view is not already positioned at
the top due to other user interaction. Along the way, we make sure that
the view is scrolled to the currentItem when arrowing down from either
control, so that the newly selected item is in the visible area even if
the user scrolled the view manually in between.

M  +9    -0    klipper/declarative/qml/ClipboardMenu.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/7a8f7e2401fbeffc86a4f47776e52da17cb3c73e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to