QML Component Flickering When Updating Model with Qt 6.5
I recently switched to I tried several approaches but none seem to work. I'm experiencing a flickering scenario in my QML application when updating the model of a `ListView`. The model is a `ListModel` that I populate with a series of `Text` items, and when I update the model by using `model.remove(0)` followed by `model.append({"text": "New Item"})`, the entire view flickers, making the UI look unresponsive. Here's a snippet of what I have: ```qml ListView { id: listView model: myListModel delegate: Text { text: model.text } } ListModel { id: myListModel ListElement { text: "Item 1" } ListElement { text: "Item 2" } ListElement { text: "Item 3" } } ``` To update the model, I have a button that triggers this update: ```qml Button { text: "Update" onClicked: { myListModel.remove(0); myListModel.append({"text": "New Item"}); } } ``` I tried wrapping the updates within a `ListView`'s `ContentItem` to minimize any potential layout issues, but the flickering continues. I also checked if thereβs anything wrong with the animations; all transitions are off. The flicker is noticeable, especially when the list is long. I didn't have this scenario with Qt 5.15, so I'm not sure if it's a bug in Qt 6.5 or if Iβm missing something in the implementation. Any insights or suggestions to mitigate this flickering would be greatly appreciated! Has anyone else encountered this? I'm on Debian using the latest version of Qml.