UMG Button releases other key

I’m not sure, if this is a bug, but still what to know, how to fix this…

I need to create a widget on key hold and remove it from viewport on release. But the problem is, then I’m trying to press any umg button on this widget, my key release it self eventhough I still holding it. And, of cource, widget disappears. It happens not all the time, but some times. Here is the video:

In the vid, pie menu calls other menu, but key must be hold. But sometimes when I press the UMG button, release event fires and removes the widget.

Hello ,

I was able to reproduce this issue on my end. I have written up a report ( UE-7446) and I have send it to the developers for further consideration. I will provide updates with any pertinent information and it becomes available. Thank you for your information and time.

Hey Rudy, any updates on this?

I am using 4.7.5 and got the same behavior. Holding down one key (or several at once) will autorelease as soon as i click a UMG button.

I hold down TAB for my score board, click on the button of the scoreboard and the release event of the TAB key will get triggered. And this happens with ALL keys. “Is Input Key Down” will also be false after this. It just releases every key that was hold before. :confused:

Hello ,

I went ahead and double checked on this issue for you. The status of this report has not yet been change to resolved. However, I can assure you that the developers are looking into the problem. I will be sure to bump the community interest for this issue.

Make it a great day

Thanks Rudy!

Make it a better day.

This is by design, focusable widgets have an option, is Focusable. Widgets like button who take focus force all keys to be released. For example, this is so if you click on textbox, you’re no longer sending character input to the game. Buttons default to focusable so that they work with a controller. Clicking them with the mouse will give them focus though, so just change the buttons to not be focusable and they’ll stop forcing the release of the buttons.

2 Likes

@Nick Darnell, thanks for pointing this out. This was exactly what I was looking for as a solution. Upvoted!