Details
-
Bug
-
Resolution: Done
-
P2: Important
-
QDS 2.3
-
None
-
2
-
41f96fe05b176544606b0a4097a050cffdd70548 (qt-creator/qt-creator/6.0)
-
QDS 3D - 2021 Week 39/40, QDS 3D - 2021 Week 41/42, QDS 3D - 2021 Week 43/44
Description
Changing freshly added repeater doesn't show up in form editor or state preview if delegate is an actual component. Changing model property value doesn't do anything, except in preview scene, where it works correctly. Fresh repeater works fine with implicit component delegates. If you close design mode and reopen it, then repeater works fine on editors also with actual component delegates.
To repro:
- Create new project
- Add Row item
- Add Repeater under the row
- Add Component item under root
- Add Rectangle under Component
- Set component as delegate of Repeater in property editor
- Set Repeater's model value to 5
Expected: Row of 5 rectangles would be visible on form editor and state preview
Actual: Nothing is shown
Leave edit mode and come back: Rectangles are now visible.
Attachments
Issue Links
- resulted in
-
QTBUG-97583 Setting delegate dynamically before model is set breaks Repeater
-
- Reported
-
-
QTBUG-97586 Setting delegate dynamically before model is set breaks Repeater3D
-
- Closed
-
For Gerrit Dashboard: QDS-5235 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
377132,4 | QmlDesigner: Reset puppet on repeater model change when necessary | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |