Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.3
-
None
-
-
79b341268 (dev), d02351d8d (6.6), 82e47c8b3 (tqtc/lts-6.5), e9c91bd36 (tqtc/lts-6.2)
Description
HorizontalHeaderView crashes when flicking it horizontally (no matter the QQC2 style) if its model is a plain JavaScript array.
import QtQuick import QtQuick.Controls as QQC2 Window { width: 300 height: 200 visible: true QQC2.HorizontalHeaderView { anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right model: ["One", "Two"] } }
If 3 individual anchors are replaced with a single anchors.fill: parent then it crashes on start.
Otherwise it looks and functions normally. For example, it can be resized by dragging a resize handle without crashing.
Attachments
For Gerrit Dashboard: QTBUG-117917 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
510204,2 | QQuickItemViewFxItem: Check item for null before assessing it | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
515974,10 | Fix crash issue in quick table view control | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
517471,1 | TableView: do an explicit test if the model has changed | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
518096,2 | Fix crash issue in quick table view control | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
518112,2 | Fix crash issue in quick table view control | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
518135,3 | Fix crash issue in quick table view control | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |