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

Cannot implement dragging in QML Treeview

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.6.0
    • Quick: Controls 1
    • None

    Description

      The MouseArea used inside the QML TreeView (as __mouseArea hidden property) has the preventStealing property set to !Settings.hasTouchScreen. On a desktop computer with no touchscreen, this makes it impossible to wrap the TreeView in a MouseArea which would implement dragging.

      I think that either !Settings.hasTouchScreen is not the correct way to initialized this property, or that TreeView should expose a property to override its behaviour.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              mardy Alberto Mardegan
              Votes:
              9 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes