Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.2, 5.10.0 Beta 1
Description
Attached will be a sample application to produce the issue. Press the 'Remove tab' and it will print lots of warnings. This started from 5.9.2. The 5.9.1 works fine.
file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qml:149:9: QML Item: Cannot anchor to an item that isn't a parent or sibling. file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qml:162:9: QML Text: Cannot anchor to an item that isn't a parent or sibling. file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/ScrollView.qml:258: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollViewHelper.qml:110: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollViewHelper.qml:111: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollViewHelper.qml:132: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollViewHelper.qml:133: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollViewHelper.qml:187: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollViewHelper.qml:188: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollBar.qml:76: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollBar.qml:93: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollBar.qml:76: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/ScrollBar.qml:93: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/FocusFrame.qml:64: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/BasicTableView.qml:766: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/BasicTableView.qml:767: ReferenceError: parent is not defined file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/BasicTableView.qml:723: TypeError: Cannot read property 'height' of null file:///home/CORPUSERS/23058288/Qt/5.9.2/gcc_64/qml/QtQuick/Controls/Private/BasicTableView.qml:723: TypeError: Cannot read property 'height' of null
Update: I have changed the subject to be more encapsulating as this is not specific to TabView.
Attachments
Issue Links
- is duplicated by
-
QTBUG-65662 When an item loaded in a loader is destroyed then it can cause children to print warnings that referred to the parent
- Closed
- is required for
-
QTBUG-66774 PieMenu.insertItem throws out warnings if there are menu entries already
- Closed
-
QTBUG-67677 Anchors errors on keyboard layout change
- Closed
- relates to
-
QTBUG-64563 Memory leak in ListView when using QQuickView
- Closed
-
QTBUG-65569 SwipeView crashes
- Closed
-
QTBUG-82989 Decide upon and document our stance on binding to parent in delegates
- Closed
- resulted from
-
QTBUG-61781 Crash when accessing a QML singleton from anonymous function
- Closed