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

TypeError on destruction of Button with style bound to Singleton property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 RC
    • 5.2.1, 5.3.0 RC1
    • Quick: Controls 1
    • None
    • Windows 7 64-bit
      qt-opensource-windows-x86-mingw482_opengl-5.3.0-RC_2014-04-15_00-54-08-58.exe
    • 3ed9cbc56fc8ea3cc92d1b8a2459103c85f39bbc

    Description

      Modifying the Touch example to move the styles into a singleton, I get the following errors.

      Entering the Tabs item and going back:
      file:///C:/singleton-style-test/content/Style.qml:156: TypeError: Cannot read property 'width' of null

      Entering the TextInput item and going back:
      file:///C:/Qt/Qt5.3.0/5.3/mingw482_32/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qml:141: TypeError: Cannot read property of null
      file:///C:/Qt/Qt5.3.0/5.3/mingw482_32/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qml:141: TypeError: Cannot read property of null

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-38422
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              net147 Jonathan Liu
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes