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

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.3, 5.7.2
    • 5.6.1, 5.6.2
    • QPA
    • None
    • macOS
    • 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

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            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