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

Combobox 5.15:"Cannot read property 'width' of null" and "Cannot read property 'Material' of null"

    XMLWordPrintable

Details

    • Windows

    Description

      QML: When using the Material style's ComboBox and filling the model with so many items that the ListView of the Popup becomes scrollable, Qt warns about null objects:

      WARN Qt default - file:///C:/Qt/5.15.0/msvc2019_64/qml/QtQuick/Controls.2/Material/ComboBox.qml:68: TypeError: Cannot read property 'Material' of null
      WARN Qt default - file:///C:/Qt/5.15.0/msvc2019_64/qml/QtQuick/Controls.2/Material/ComboBox.qml:66: TypeError: Cannot read property 'width' of null

       

      Qt Support has tested this with Qt 5.15 and get same errors.

      Example project attached.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              tero.pelkonen Tero Pelkonen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes