Bug 491142 - Top item not auto-highlighted in new QML menu popup
Summary: Top item not auto-highlighted in new QML menu popup
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 6.1.3
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression, usability
Depends on:
Blocks:
 
Reported: 2024-08-01 21:24 UTC by Nate Graham
Modified: 2024-08-13 08:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2024-08-01 21:24:45 UTC
In the old Meta+V QtWidgets menu popup, the top item was always highlighted, so you could search until the item you wanted was on top, and then immediately hit the return key.

With the new QML-based one, you have to hit the down arrow before the return key. It's a tiny bit slower and more annoying.

This behavior is shared with the widget of course, but it was never that important in the widget. But it is more important for the menu popup representation. I think it would be a good change for both of them.
Comment 1 Bug Janitor Service 2024-08-02 01:28:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4575
Comment 2 Fushan Wen 2024-08-02 02:14:52 UTC
Git commit f6990eea0fe311eef9c5ddea94c27803474fc14f by Fushan Wen.
Committed on 02/08/2024 at 01:55.
Pushed by fusionfuture into branch 'master'.

klipper: highlight the first item in popup menu

In the old Meta+V QtWidgets menu popup, the top item was always highlighted, so
you could search until the item you wanted was on top, and then immediately hit
the return key.

With the new QML-based one, you have to hit the down arrow before the return
key. It's a tiny bit slower and more annoying.

This restores the old behavior.
FIXED-IN: 6.2

M  +11   -1    klipper/declarative/qml/ClipboardMenu.qml
M  +1    -1    klipper/declarative/qml/KlipperPopup.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/f6990eea0fe311eef9c5ddea94c27803474fc14f
Comment 3 Fushan Wen 2024-08-13 08:53:56 UTC
Git commit b49490152b9798988ee0371fadaed3ec7561871b by Fushan Wen.
Committed on 13/08/2024 at 08:51.
Pushed by fusionfuture into branch 'master'.

klipper: track window visibility to reset highlighted item in popup
FIXED-IN: 6.2

M  +6    -4    klipper/declarative/qml/KlipperPopup.qml

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