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

QQC1 Button with Menu broken on second popup

    XMLWordPrintable

    Details

    • Commits:
      7250a5c2f9dbb61e2c8289f1bf28db2300ce43ad (qt/qtquickcontrols/5.12.0)

      Description

      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

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes