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

[MacOSX]: Popup window disables shortcut keys

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important P2: Important
    • 5.4.0 RC
    • 5.4.0 Beta
    • Quick: Controls 1
    • None
    • OS X 10.9.4

      The action of this code can be triggered only once.

      import QtQuick 2.3
      import QtQuick.Window 2.0
      import QtQuick.Controls 1.2
      
      Item {
          Action {
              shortcut: "Space"
              onTriggered: {
                  console.log("Triggered")
                  popup.show();
                  popup.close();
              }
          }
          Window {
              id: popup
              flags: Qt.Popup
          }
      }
      

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

            liaqi Liang Qi
            sqq S.Gold
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes