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

QQuickWindow should not clear its focusObject when the window looses focus

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None
    • All

    Description

      QWindow::focusObject() represents the object that should get focus when the window becomes active(focused). QWidgetWindow follows this pattern and still maintains a valid focusObject even on a FocusOut event. QQuickWindow OTOH, closely ties the focusObject to the activeFocusItem so whenever the window looses focus the focusObject becomes invalid. We should change it to have a consistent behaviour across widgets and Quick.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes