SUMMARY The separators seem to be able to take keyboard focus when using arrow keys. STEPS TO REPRODUCE 1. Open application menu 2. Use up & down arrow keys to navigate OBSERVED RESULT Some items appear to require two key presses to move to. The separators can probably take keyboard focus. EXPECTED RESULT Separators should not take keyboard focus, and arrow keys should ignore them. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20220506 KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
This affects every QML application, not just Elisa. Skipping over disabled menu items are also borked.
lol oops. Can confirm.
Hmm, we have `focusPolicy: Qt.NoFocus` set on our menu separator item, but this doesn't seem to prevent it from getting keyboard focus. I wonder if the issue is in our implementation of the ListView that underpins the Menu itself.
yeah, the listview is responsible for managing the fake "focus" of its items, not the items themselves.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/440