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

Shift-select drag distance is zero in QTreeView

    XMLWordPrintable

Details

    • All
    • e02293a76d21e7077f1952d4ed8af6c6d1970190 (qt/qtbase/5.13) bb67b6ff26 (qt/qtbase/dev) bb67b6ff26 (qt/tqtc-qtbase/dev) 9b6e3c0d5d (qt/qtbase/6.3) 9b6e3c0d5d (qt/tqtc-qtbase/6.3) fdc061d20d (qt/qtbase/6.2) fdc061d20d (qt/tqtc-qtbase/6.2)

    Description

      When you select a second item in a QTreeView while the Shift key modifier is pressed, QTreeView::startDrag is called immediately after only 1 pixel movement.  The system default is 10 pixels and is ignored, and so is any value set with QApplication::setStartDragDistance.

      Example program attached.

      Attachments

        1. treeShiftDrag.zip
          5 kB
          Remik Ziemlinski

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            remik Remik Ziemlinski
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: