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

Cannot implement dragging in QML Treeview

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.0
    • Fix Version/s: None
    • Component/s: Quick: Controls 1
    • Labels:
      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

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

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes