[Interest] QML StackView fragility

Harri Pasanen harri at mpaja.com
Fri Dec 5 23:41:09 CET 2014


StackView blows up for me from time to time for no apparent reason.
No I seem to have a reproducible issus.


I have pages A->B->C


 From A I do push(B) to got to B, and all is fine.

But when I do push(C) it blows up:


file:///home/harri/Qt5.4.0/5.4/gcc_64/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qml:79: 
TypeError: Cannot read property 'width' of null

file:///home/harri/Qt5.4.0/5.4/gcc_64/qml/QtQuick/Controls/StackView.qml:891: 
TypeError: Type error

file:///home/harri/Qt5.4.0/5.4/gcc_64/qml/QtQuick/Controls/StackView.qml:902: 
TypeError: Property 'complete' of object TypeError: Type error is not a 
function


At that point page C is visible, but non-functional due to above errors.


But looking at StackViewSlideDelegate.qml I don't see anything obviously 
wrong there,

the underlying model seems to fail for some reason.



Any ideas?


Harri




More information about the Interest mailing list