Dear Epic,
After I upgraded to 4.11 I have a critical issue with focus in UMG that I can’t figure out how to resolve.
My game revolves around being able to use the mouse to click around the game viewport, and also click on UMG UI elements at the same time.
In 4.10 this worked perfectly via Set Input Mode Game and UI with no widget to focus
I could single click repeatedly on game viewport, or choose to click and drag UMG widgets around.
Now in 4.11, after I apply Set Input Mode Game and UI, after I click just once on game viewport, all single clicks after that 1 successful click are ignored.
However, I can still double-click, and get the game viewport’s attention (my player controller get’s the Left Mouse Button down event).
So my issue is that in 4.11 I can no longer do multiple single clicks of the game viewport and get the signal routed to the player controller Left Mouse Button key event.
After the first good click on game viewport, only UMG responds to single clicks thereafter.
Before the first Left mouse click on game viewport (aftering setting Game + UI), if I click on UMG instead, that will work too.
But after first click I lose all capacity for repeat single clicks to game viewport, until I use Set Input Mode Game Only
If I do the first successful game viewport click, and then lose capacity to do more single clicks, and then re-apply Set Input Mode Game & UI, then the following happens:
- clicks on game viewport make the cursor disappear
- I cannot move the mouse while left mouse is down after starting such a click
I fix this by saying dont hide mouse during capture
…
omg
I figured it out!