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

When adding menus programatically to a QMenuBar on OS X, the last menu is not added

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.6.1
    • Component/s: QPA
    • Labels:
      None
    • Environment:
      Mac OS X 10.11.3
    • Platform/s:
      macOS
    • Commits:
      09acf326dbc6b7b67f21a360be8c91605ce47f1e

      Description

      If you add multiple new entries to a QMenuBar by calling QMenuBar::addMenu or QMenuBar::addAction from your application, the last such menu added will not appear.

      Switching away from the application and back again causes the missing menu to appear.

      See the attached test app for a simple demonstration.

        Attachments

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

          Activity

            People

            Assignee:
            tpochep Timur Pocheptsov
            Reporter:
            jlarcombe James Larcombe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes