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

Qdialog native menubar is not enabled on the Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.6.2, 5.12.7
    • None
    • mac OS X.13
    • macOS

    Description

      On the Mac, when installing a (native) QMenuBar on a QDialog, the menus in the menubar are all disabled while the dialog is opened.

      It should not.

       

      Though, the actions in the menu bar still can be triggered by using their shortcut.

       

      COnversely, the menubar is enabled, as expected, if the menubar is set to non-native (setNativeMenuBar(false).

       

      Sample code attached.

      Thx

      Attachments

        1. menubar.png
          menubar.png
          212 kB
        2. testDialog.tar
          12 kB
        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
            castagne Nicolas Castagne
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes