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

Strange handling of global shortcut when context menu is open on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Platform/s:
      macOS

      Description

      See the attached example.

      Pressing F1 opens a QMessageBox. When a context menu is open (e.g. the one of the QTextEdtior), the context menu stays open and the QMessageBox is displayed.

      Other native macOS application, like Safari, close the context menu first before the action's slot is triggered.

      In contrast, on Linux and Windows, the shortcut is completely ignored if a context menu is open.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            mlangen Marc Langenbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes