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

Details

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

    Description

      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.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-76310
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes