Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.0
-
None
-
db6f1440cbe78018e442c1fb961310a4e619e8fe
Description
I have a QStandardItemModel that has text and another QStandardItemModel, both have CPP ownership, besides I have code like:
ScrollView {
ListView {
model: devices
delegate: ItemDelegate {
text; roleText
onClicked: connectionsView.model = roleModel
}
}
}ScrollView {
ListView {
id: connectionsView
}
}
The first click works fine, the second crashes the application, removing the surrounding ScrollView of connectionsView, it works as expected,
The backtrace I got is not of much use, my app is a debug build but it seems Qt is not, I'm using precompiled Qt binaries on Linux.
Attachments
For Gerrit Dashboard: QTBUG-61294 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
234382,4 | Fix for crash in QmlListView when items are accessed on parent changed | 5.6 | qt/qtdeclarative | Status: NEW | 0 | 0 |
234506,2 | Fix for crash in when items are accessed in reentrant way | 5.6 | qt/qtquick1 | Status: NEW | 0 | 0 |
196980,3 | QQuickItemView: fix releaseItem() loops | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |