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

Dragging (QDrag) triggered by touch event requires an additional press to move drag target

XMLWordPrintable

    • Android, Linux/Wayland, Linux/X11, Windows

      Input device affects QDrag behavior when drag started by a TapHandler signal. In tested cases the drag begins normally and an image of the target is shown on the screen but

      With touch screen:

      Actually trying to drag the target after the drag has begun (during the same press) has no effect on the image and it will remain it's initial position. First release will not stop drag. Pressing the image again after the first release will allow the image to be dragged and a second release will end the drag normally.

      With mouse (expected behavior):

      Image moves with the cursor when the cursor is moved starting from the moment drag begins (on the same press). Releasing mouse button ends the drag instantly.

      Steps to reproduce:

      Run the attached project & attempt to drag the "Drag target" anywhere using a touch screen.

        1. qtbug76310.zip
          2 kB
          Miika Pernu
        For Gerrit Dashboard: QTBUG-76310
        # Subject Branch Project Status CR V

            axelspoerl Axel Spoerl
            miikapernu Miika Pernu
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes