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

[REG 5.6.0->5.6.1] macOS: addMenu() doesn't work after clear() for a parent-less QMenuBar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.1, 5.6.2
    • Fix Version/s: 5.6.3, 5.7.2
    • Component/s: QPA
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      9c83d7f871f95b1cc03fb404bd602df32056b9cb

      Description

      QMenuBar::addMenu() call after QMenuBar::clear() does not add the menu for a parent-less menu bar.

      The attached file contains simple example. After press the button the menu bar becomes hidden with 5.6.1 and 5.6.2_442. This code works correctly with 5.6.0.

        Attachments

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

          Activity

            People

            Assignee:
            dedietri Gabriel de Dietrich (drgvond)
            Reporter:
            p.zhigalov Peter Zhigalov
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes