Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.4, 6.6.1, 6.6.2, 6.7.0 Beta3
-
None
Description
Consider this simple code
import QtQuick import QtQuick.Controls Window { id: window width: 1024 height: 720 visible: true title: qsTr("Hello World") TreeView { anchors.fill: parent model: treeModel selectionModel: ItemSelectionModel { onCurrentIndexChanged: console.log(currentIndex) } delegate: TreeViewDelegate { highlighted: current } } }
It works like a charm. When a row is clicked, the selection is correctly highlighted. However, if tested in a Windows 10 multitouch screen the selection does not works anymore. Switching from multitouch to single touch in the OS settings, make the sample works again because the touch events are dealt as mouse events.
Attached a complete project