Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47243

TreeView can't select items on touch enabled systems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.9.5
    • 5.5.0, 5.7.0, 5.8.0 RC
    • Quick: Controls 1
    • android nexus 5; Windows 7, 8.1 & 10, Ubuntu 14.04.
    • a60d3e0df7085d077aaed93d9243cf3d57b59464

      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);
          }
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            awfan fanjunwu
            Votes:
            19 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes