Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.2, 6.x
Description
This problem prevents the visualFocus property of ItemDelegate, TabButton and other Qt Quick Controls from working when using keyboard navigation to change the current item in a ListView or GridView.
The workaround is to disable ListView/GridView keyboard navigation, re-implement it using the Keys attached property and call currentItem.forceActiveFocus(Qt.TabFocusReason) when incrementing or currentItem.forceActiveFocus(Qt.BacktabFocusReason) when decrementing.
Attachments
Issue Links
- is duplicated by
-
QTBUG-113304 focusReason set by ListView::keyNavigationEnabled property is inconsistent with KeyNavigation type
- Closed