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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes