Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.2.1, 5.3.0 RC1
-
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
- is duplicated by
-
QTBUG-40189 TypeError on destruction of Button with style bound to Singleton property
- Closed
For Gerrit Dashboard: QTBUG-38422 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
83854,1 | Controls: Fix destruction order for style and panel | release | qt/qtquickcontrols | Status: ABANDONED | 0 | 0 |
84288,1 | Controls: Fix destruction order for style and panel | stable | qt/qtquickcontrols | Status: ABANDONED | 0 | 0 |
125921,6 | Fix TypeErrors on control destruction with singleton style components | 5.6 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |