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

OS X: QEvent::ShortcutOverride does not prevent the native menu from flashing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.6.0
    • Core: Event loop
    • None
    • OS X 10.6
    • macOS

    Description

      When a shortcut is executed and QEvent::ShortcutOverride is processed to catch that event, the menu action is not triggered (normal, as expected), but the Mac menu title still "flashes" as if the menu action was executed. This is of course misleading for the user.
      The attached example demonstrates the problem: Type 'A' in the edit control (trapped by QLineEdit, as any letter) and see the menu flashing each time.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            jirauser26727 user-04d21 (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes