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.