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

Menu control doesn't show visible MenuItem following Instantiator that has all items hidden

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.0 Beta1
    • 5.2.1
    • Quick: Controls 1
    • None
    • Windows (works on Android)
    • qtquickcontrols:0c5a9537c1aeb60223fbf1d0f5df62cfa901a48d

      A menu comprises an Instantiator that provides three MenuItems, an optional separator and a fixed MenuItem.
      If all the instantiator items have visible: false, then the fixed MenuItem is not displayed when the popup() method is called (Windows environment only). Otherwise it all looks as expected. Example attached.

        1. main.qml
          1 kB
          Mitch Curtis
        2. main.qml
          2 kB
          Martyn Woerner
        For Gerrit Dashboard: QTBUG-37445
        # Subject Branch Project Status CR V

            dedietri Gabriel de Dietrich (drgvond)
            martynw Martyn Woerner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes