WidgetInteraction's drag&drop functionality is broken in 4.16

Hi,

Recently I upgraded one of my VR projects to 4.16 and found out that UMG dragging with WidgetInteraction component is not working anymore. Previously (in 4.14, 4.15) I called PressPointerKey() and ReleasePointerKey() with EKeys::RightMouseButton to simulate dragging by right mouse. It worked well - scrollboxes, scrollbars and other draggable elements were dragging by interaction component. Now it’s broken. Please investigate this issue.

Link to example project showing this bug - https://drive.google.com/file/d/0Bze3rdpeo7PAUW1yeWd3NDRzcnc/view?usp=sharing

Best Regards

I somehow missed your question when I asked mine this morning, but it sounds very similar to the problem I’m seeing.

It’s also not working on 4.16.1

Ok. It’s a bug in WidgetInteractionComponent. And it’s already fixed in master branch of UE4 sources on GitHub. But looks like it’s targeted to 4.17. Anyway, it’s easy to fix on binary version of engine (from launcher) with making a copy of WidgetInteractionComponent with sources from 4.15. I hope this info will be helpful.

It’s slightly different issue, but very similar. Maybe my solution will work for you, maybe not. Idk.