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

Clean up cancel keyboard shortcut handling (Escape, Cmd+.) on OSX

    XMLWordPrintable

Details

    • macOS

    Description

      We deal with Escape and Cmd+. manually in a lot of places in Qt. We should add a QKeySequence for them, which would also make it possible to trap the cancel action in QML when non-native windows are used for dialogs.

      See also:

      https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSResponder_Class/#//apple_ref/occ/instm/NSResponder/cancelOperation:

      `QMessageBox::keyPressEvent`

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              vestbo Tor Arne Vestbø
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes