[BUG] UMG MouseButtonUp event only triggers on double click

birdfreeyahoo
Sat, 02 Dec 2017 02:23:44 +0000
UI

I discovered the following bug while working with UMG in 4.18.1: You can reproduce it by following these steps:

1. Create a new Blank Project without Starter Content

2. Create Custom Game Mode and Pawn Blueprints.

3. In World Settings, set your custom Game Mode as Default Game Mode

4. In your Custom Game Mode, set your custom Pawn as Default Pawn

5. Create an UMG Widget, add a Border element to its Canvas, Horizontal Fill, Vertical Fill, Size Y = 800, Brush Color Alpha = 0.2

6. Bind on the OnMouseButtonUp-Event of the Border

7. In the auto-generated, bound function, output some debug string message. Return Handled or Unhandled.

8. Play in Editor and repeatedly click on the border, only double clicks will trigger the event.

7 posts - 3 participants