Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-121796 Widgets and Quick hybrid UI development
  3. QTBUG-121789

Widgets and Quick hybrid UI development: Make sure that focus handling works

    XMLWordPrintable

Details

    • f20be43b8 (dev), 72027c2d7 (dev), 8c44064f6 (dev), 3f3787a6b (dev)

    Description

      Focus/activation-related bugs observed when embedding a QQuickWindow in a widget window:

      • Focus gets stuck inside embedded window and has no way to go back to parent window
      • Some controls (eg: combobox) inside the embedded window are painted in an inactive state when that window has not yet gained focus, even if the parent (widget)window is focused
      • When the focus moves from the embedded window to the parent window, focus rect remains on the focus object of the embedded window
      • The next time the embedded window gains focus, the focus will resume from the last focus object, which is wrong behavior. The embedded window's focus object should be cleared when it looses focus
      • When first tabbing from widget to window container, the focus won't immediately go to the item inside the container. It will require another tab key for it to gain focus. This doesn't happen the next times.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-121789
          # Subject Branch Project Status CR V

          Activity

            People

              dorisverria Doris Verria
              dorisverria Doris Verria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: