Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.2, 6.5.0 Beta3
-
e397e5b43 (dev), 5b7e125dd (6.4), 8b6a4a923 (6.5)
Description
When using `asynchronous: true` with a Loader that contains a StackLayout with a Repeater, the StackLayout assigns wrong indexes. This results in the wrong item being visible in the stack.
To reproduce the issue, please run the attached example project.
- Click on Load button. 0-0-0-1 is visible, this should be 0-0-0-0. The Repeater index should match the StackLayout index.
- Use the ComboBox to select 3. Two items are now visible at the same time! The Repeater index 3 item's attached property StackLayout.index is still 0.
Attachments
For Gerrit Dashboard: QTBUG-111902 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
470244,6 | Fix stack layout index when loaded asynchronously | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
472300,2 | Fix stack layout index when loaded asynchronously | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
472301,2 | Fix stack layout index when loaded asynchronously | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |