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

macOS: Deleted menu is not removed from native menu bar

    XMLWordPrintable

Details

    • macOS
    • 36ebec92e (dev), 641422686 (6.10), 2c686e47b (6.9), 5b80a8c4d (tqtc/lts-6.8)

    Description

      In macOS, when deleting a QMenu that has been added to QMainWindow QMenuBar, the deleted menu is not removed from the native menu bar.

      To reproduce, run the attached example project.
      1. Toggle on the checkbox to add a menu to the menu bar. Observe a new menu is added to the menu bar.
      2. Toggle off the checkbox to delete the added menu. Observe the deleted menu is not removed from the menu bar.

      Expected behavior: the deleted menu should be removed from the menu bar. When a non-native menu bar is used, the expected behavior is observed.

      Attachments

        For Gerrit Dashboard: QTBUG-135634
        # Subject Branch Project Status CR V

        Activity

          People

            axelspoerl Axel Spoerl
            lysandra.sola Lysandra Sola
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: