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

Add property to MenuBar to not create a native menu bar on macOS

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • None
    • Quick: Controls 2
    • None
    • macOS

      We want a native menu bar for the top-level application window but we also want to create menu bars in panes and subwindows that don't replace the application menu bar.

      Since we want native menus and non-native menus, the application attribute to disable native menus doesn't help us.

      Please add a property (e.g. `native: false`) to the `MenuBar` item to prevent the item from creating a native menu bar on macOS.

      To work around this we're going to have to create our own duplicate MenuBar implementation which will be a pain.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mattsidefx Matt Chaput
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes