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

DragHandler makes its target jump if you start dragging in the margin area

    XMLWordPrintable

Details

    • 0c02691f7ba646e782b04347fde3d75f9582b317 (qt/qtdeclarative/5.12)

    Description

      See attached. The DragHandler has margin:20. Place the mouse inside the cyan line but outside dark square: that is inside the margin around the DragHandler. Press, and start dragging. When the drag threshold is exceeded, the target will jump to a position such that it's centered under the mouse cursor. This is very different from when you drag inside the dark square: it will retain its position relative to the mouse cursor as you drag around.

      Attachments

        1. dragMarginBug.qml
          0.8 kB
          Shawn Rutledge

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes