Drag event was detected after touch ended

Hi, I had a functionality that is drag one widget to the other widget. It works fine when I touch and hold the widget then move(drag) it to the other widget. But when I touch and release(like a click action) the widget without any move behavior, and then move the mouse cursor after release the widget. The Drag event was still detected.

Steps:

  1. Touch start(mouse down) on a widget.
  2. Touch end(mouse up) on that widget.
  3. Move the mouse cursor.
  4. Drag event detected.

Below are the screen capture of the result and the widget bp:

  1. [BP] On Touch Started

  1. [BP] On Drag Detected

117994-bp_on_drag_dectected.jpg

  1. [BP] On Touch Ended

117995-bp_on_touch_end.jpg

  1. Log result of the drag and drop

Am I missing anything or just a bug?

Hello wingedrobin,

I was able to reproduce this issue on our end. I have written up a report and I have submitted it the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates. The issue appears to be happening when using the “Anykey” setting. Try specifying Left mouse button to get around the issue.

Link: Unreal Engine Issues and Bug Tracker (UE-39570)

Make it a great day

Hi, Rudy

Thanks for replied so rapidly. I found if I change the drag key from Any Key to Left Mouse Button, this issue won’t occur. But if I set it as Touch 1, it still has the same problem. Seems like I have to use left mouse to bypass it before this issue is fixed up. Hope this issue can be fixed soon. Thanks again. :slight_smile: