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

No activeFocusItem gets set when activating a new Window after prev window was flags = Qt::Popup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.12.0
    • GUI: Window management
    • None
    • All, Windows

    Description

      Example: app has a light-dismiss window that has WindowFlags | Qt.Popup with a button that opens a regular window. Using keyboard to press the button, the new window gets shown and activated but no FocusScope receives focus. Workaround is to click away from the window, then back into the window, then TAB-ing will finally work.

      This is because when the previous window was Qt.Popup, QQuickWindow sets focusReason = PopupClosed, then the code that handles focusInEvent completely no-ops on focusReason=PopupClosed.

       

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            cosminp Cosmin Pancratov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes