Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.5.0, 5.7.0, 5.8.0 RC
-
android nexus 5; Windows 7, 8.1 & 10, Ubuntu 14.04.
-
a60d3e0df7085d077aaed93d9243cf3d57b59464
Description
qml treeview can't select item by click on android.
when i slice down or up it's ok, but It is difficult to select i wanted.
use following code to solve but it's Not very good
selection: ItemSelectionModel { id: selModel model: treeView.model } onClicked: { selModel.clearCurrentIndex(); selModel.setCurrentIndex(index, 0x0002 | 0x0010); }
Attachments
Issue Links
- is required for
-
QTBUG-56490 Rearchitect the TreeView from Controls 1 and move to Controls 2
- Closed
- relates to
-
QTBUG-52138 There no way to set the selected item in a TreeView
- Closed
For Gerrit Dashboard: QTBUG-47243 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182177,3 | TreeView: allow selecting items by touch | 5.9 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |
215366,2 | TreeView: avoid skipping some tests now that it has touchscreen support | 5.9 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |