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

[REG 5.6.0->5.6.1] macOS: Adding submenus to a menu on aboutToShow() doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.2
    • 5.6.1, 5.6.2
    • None
    • macOS, any supported version as of 5.6.1.
    • macOS
    • 38b09d34210805766afa8bdd6a1ef413447a89ed

    Description

      Adding submenus to a menu on aboutToShow() doesn't work. This is because the QMenu::aboutToShow() signal is emitted way after -[QCocoaMenuDelegate menu:updateItem:atIndex:shouldCancel:], thus missing the opportunity to attach the submenu to the menu item.

      See attached example.

      Attachments

        Issue Links

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

          Activity

            People

              dedietri Gabriel de Dietrich (drgvond)
              dedietri Gabriel de Dietrich (drgvond)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes