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

Ctrl+S shortcut in ApplicationWindow does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.12.2
    • Quick: Controls 2
    • None
    • All

    Description

      I have this QML main component (reduced)

      import QtQuick 2.12
      import QtQuick.Controls 2.12
      
      ApplicationWindow {
          id: window
          visible: true
          width: 640
          height: 480
      
          Shortcut {
              sequence: "Esc"
              context: Qt.ApplicationShortcut
              onActivated: console.log("ESC")
          }
      
          Shortcut {
              sequence: "Ctrl+S"
              context: Qt.ApplicationShortcut
              onActivated: console.log("CS")
          }
      
          Shortcut {
              sequence: "Alt+S"
              context: Qt.ApplicationShortcut
              onActivated: console.log("AS")
          }
      }
      

      My Esc and Alt+S shortcut work but the Ctrl+S does not 

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            u19809 wim delvaux
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes