Developer Notes

This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.

Description

When Using the On Drag Detected on a 3D widget, the drag function fires off on a single click (No dragging necessary)

Steps to Reproduce
  1. Open Editor
  2. Create a New Widget Blueprint
    Right click content browser > User Interface > Widget Blueprint
  3. Create New Actor Blueprint
    Right Click Content browser > Blueprint > Actor
  4. Open Widget Blueprint
  5. Add an image to the designer tab
  6. Size image to 500 by 500
  7. Position the image to 0,0
  8. Open the event graph
  9. Override the On mouse down function
  10. Add the Detect Drag if pressed
  11. Set the button to be detected to the Left mouse button (attached image for reference)
  12. Override the On Drag Detected function
  13. Add a print string that type "Dragging" into it (attached image for reference)
  14. Compile and save
  15. Open Actor blueprint
  16. Add Widget Component
  17. Apply the Widget blueprint to the Class section of the widget component
  18. In class defaults make sure to set the actor to accept input from player 0
  19. Add the Actor to the level
  20. Open the Level blueprint
  21. Create the blueprint in the attached image
  22. Click Play In Editor
  23. Click the image in the viewport (Do not drag)
  24. Notice the print string does not fire (expected)
  25. Click and Drag on the image in the viewport
  26. Notice the Print string now fires off (expected)
  27. Click the actor in the level (Do Not Drag)
  28. Notice the print string fires off (NOT expected)

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems
Affects Versions4.7.64.8
CreatedMay 11, 2015
ResolvedFeb 3, 2017
UpdatedApr 27, 2018