Hi everyone,
I have problems just clicking on the widget component in UE 5.1.0 . I have a simple setup of a Widget Component and a Widget Interaction Component. The Widget Blueprint has 3 buttons in a vertical box. When I click on a button (by executing “Press Pointer Key” with the “Left Mouse Button” set as input key) the the release of the widget button happens immediately, before I release my mouse button (by executing “Release Pointer Key”).
Also when I click the same button again, the hover state freezes for that button until I click another one. And with the following clicks on the same button the “On Clicked” event won’t trigger.
This Bug Report maybe describes the same problem I encountered. Unreal Engine Issues and Bug Tracker (UE-170472) What does it mean when it is marked as duplicate? Is there another Bug Report that describes the same issue?
I also reported the same issue, maybe your report is a duplicate of mine, but I can’t find mine yet on the portal.
Basically, I was able to see that the press & release events are fired simultaneously but “too fast” for the UMG to fire the on-click event.
If you need a quick & dirty fix you can change the settings below on the buttons, but this disable the hover state in some case.
Same Issue. I also find that when I call “press pointer key”, the focus was switched to the widget, and my keyboard can input some char to UI.
My temporary solve method:call “Set Input Mode Game Only” After called “press pointer key”。And Use Pressed Event rather than Click Event On Widget
Thanks, @CorentinG78 for the suggestion. I was having the same issue as well and this seemed to fix it for me. I hope this gets fixed in the next minor engine version.
Reverting the commit fixes the problem for my use case and fully restores the old behavior, but I’m not sure about other scenarios and what the commit was trying to fix in the first place.
This obviously only works, if you’re using a source build of Unreal Engine.
Thank you, UE-166377 seems to describe symptoms that fit the same problem. I upvoted
@anon33985116 Thank you, maybe this helps a epic staff to fix it easier. We aren’t too eager for an engine switch yet, but if it comes to it, this will be helpful.
Thanks, I spend few days trying to solve this problem, now works and after some investigation, it seems like when you press the pointer key it disables movement, but before in 5.0 you can move and interact