Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.4.1
Description
It was hard to make a summary that summarizes the complexity of this case. We have a complex layout in our application and when porting to Qt 6 we were faced with this awkward crash.
A RowLayout, containing two Pane, where each Pane has a RowLayout as a child and a repeater with dynamic models.
If the Pane child has "anchors.fill: parent", and the model of the RowLayouts changes, there is a crash. It important that both models change, if the number of items in the first RowLayout is the same, the crash will not happen. It will also not happen if Pane is switch over to Item. This makes us believe that this is a Pane bug.
After opening the attached example, click on the screen to switch the model, and it will crash. Commenting line 41 of main.qml, prevents the crash.´
It should also crash in other platforms. We have only tested in Mac and iOS.
Attachments
Issue Links
- duplicates
-
QTBUG-111792 Dynamically changing the Items in a ColumnLayout while resizing leads to crash
- Closed