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

QQC1 Button with Menu broken on second popup

XMLWordPrintable

    • 7250a5c2f9dbb61e2c8289f1bf28db2300ce43ad (qt/qtquickcontrols/5.12.0)

      This minimal example fails to show the menu when trying to open it more than once.

      import QtQuick 2.0
      import QtQuick.Controls 1.5
      
      ToolButton {
          text: "Menu"
          menu: Menu {
              MenuItem {
                  text: "item"
              }
          }
      }
      

      This appears in the console:

      file:///usr/lib64/qt5/qml/QtQuick/Controls/Private/MenuContentItem.qml:239: TypeError: Cannot read property 'submenuPopupDelay' of null

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

            smd Jan Arve
            vogtinator Fabian Vogt
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes