Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.1
-
None
-
Qt 5.0.1, QtQuick 2.0, Windows 7, msvc2010
Description
I have some strange behavior of QtQuick 2.0.
I have a Repeater placed into Row. Delegate has small rectangle inside, that has visibility binded to one property of the main component (by default item is invisible) (http://joxi.ru/uploads/prod/20130325/305/a71/d4c2aede74c9863e4d94ac7930176f55d0f1dfd1.png). Then I made main window invisible, change property that delegate visibility has bound to true, and then made main window visible. In result I got all items muddled together (http://joxi.ru/uploads/prod/20130325/31e/e95/f429216a502a2ad1fc49836f61073629ece9e269.png). qml file in the attachment (RepeaterInvisible_1.qml).
I have found two cases, where items placed correctly.
1. Made that item visible from the beginning: comment line "visible: showMark". In result, all items placed correctly (http://joxi.ru/uploads/prod/20130325/7b0/881/54a514275c910a75834f0cd825917980d43feebf.png).
2. Wrap delegate into additional Rectangle (RepeaterInvisible_2.qml).