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

Application lose activeFocus permanently by the popup window on Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0 Beta
    • 5.1.1
    • Quick: Controls 1
    • None
    • Mac OS X 10.8.4
    • macOS
    • da0c74550f0e8a21239896d6aead6e05f85eb695

    Description

      import QtQuick 2.1
      import QtQuick.Window 2.0
      import QtQuick.Controls 1.0
      
      ApplicationWindow {
          Window {
              id: popup
              flags: Qt.Popup
          }
          Timer {
              interval: 500
              running: true
              repeat: true
              onTriggered: {
                  console.log(activeFocusItem);
                  popup.show();
                  popup.hide();
              }
          }
      }
      

      Output:

      QQuickRootItem(0x101e046d0)
      null
      null
      

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              sqq S.Gold
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes