[4.7.5] UMG drag to reposition

In UMG editor, sometimes when i drag and drop an element to reposition it, releasing the mouse sometimes doesn’t drop the element leaving it stuck to my cursor.

If you click again while its stuck it will drop, but then if you move the mouse cursor at all, it snaps back to the cursor and is stuck again, sometimes being at a different offset to when you originally picked it up.

What version of the editor are you using: Windows, Mac, Linux?
Is this the binary build of the editor or did you compile it yourself?

4.7.5 windows binary, its an intermittent bug, closing the project and reopening it fixes it

Hello ,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed set of steps to reproduce this issue on our end?
  3. Could you provide screen shots of the issue?
  4. Is the project that is experiencing the issue one that has been updated from an older version of the engine?
  5. Could you provide your dxdiag?

Hello ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

That’s fine, I haven’t been able to reproduce it. Hopefully it was something outside of UE causing it.

I have this exact same problem.
It happened after i tried to implement drag and drop functionality in my UMG.
During a gameplay test the drag and drop widget moved once every 2 attempts, the first time i click it nothing happens, the second time it drags and so on.

I tried to replicate it in a different HUD but it keeps happening in the same project.
In a new project everything works well and the widget moves for every drag.

The biggest problem is i worked 2 months on this project and i’d really like to fix this xD

I created a new project and imported all the old stuff to try again.
At first everything worked well but after a while the problem reappeared.

I managed to find out that “Use Mouse for Touch” in Project Settings>Input is the problem.
I’m using an onMouseButtonDown event in my widget.

Hello ,

From your explanation it sounds like the issue that you are experiencing is unrelated to the original post. For tracking purposes I will need you to create a new post. After doing so you can then post a link in a reply here. I will then be more than happy to assist you with your issue. I do have a few questions that for you that you could provide answers to in your new thread.

Quick questions:

  1. What version of the engine are you using?
  2. Could you provide screen shots of the blueprints that re involved with your issue?
  3. Was this project upgraded from an older version of the engine?
  4. If so, what version what is upgraded from?

I posted this issue here: Drag works every second time - UI - Epic Developer Community Forums