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

QScrollArea tab focus problem

XMLWordPrintable

      Steps to reproduce / test case:

      Try the attached test application.

      QScrollArea does not scroll to child widget that is outside viewport,
      when tab focus moves from a sibling of QScrollArea to a child of
      QScrollArea. (tab focus between child widgets scrolls ok).

      A widget with many focusable child widgets is set as content for a
      QScrollArea, vertical layout. Large enough, that many of the child
      widgets are outside viewport. When moving focus with tab, initially
      everything goes ok. When the focus loops back to the topmost child
      widget, the QScrollArea does not scroll the widget visible. Only after
      moving focus to the next child widget, the scroll area scrolls. Same
      happens also when going backwards with Shift + tab.

        1. TabFocusTest.zip
          2 kB
          Stian Sandvik Thomassen (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes