Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97006

ListView and GridView keyboard navigation doesn't use FocusReasons

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2, 6.x

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            ndavis Noah Davis
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes