The OSD is not all that bad, but it was only usable with the mouse.
Change it so that left-right and tab navigates and space/return confirms
the selection.
BUG: 395804
davidedmundson |
Plasma |
The OSD is not all that bad, but it was only usable with the mouse.
Change it so that left-right and tab navigates and space/return confirms
the selection.
BUG: 395804
No Linters Available |
No Unit Test Coverage |
Buildable 970 | |
Build 983: arc lint + arc unit |
kded/qml/OsdSelector.qml | ||
---|---|---|
158 | I'd like to hear suggestions how to do this in a nicer fashion, iterating over the children and checking if they are buttons and otherwise skipping them feels pretty ugly. |
kded/qml/OsdSelector.qml | ||
---|---|---|
158 | Personally I would add a property currentIndex in the repeater, have Keys.right/left manipulate that and then have the delegates compare that to their index. | |
184 | This breaks the checked: activeFocus binding in the delegate, which means use of tab after nav keys gets out of sync. |
Awesome! I'll incorporate the ideas, that's great. Any chance to get https://phabricator.kde.org/D14143 in? It's required for this since it changes the window type. I'd also like to make the global shortcut show and hide the osd (right now pressing it again makes the osd fade out and in again).