Consistent UMG navigation with mouse, keyboard, or gamepad?

Never did anything with keyboard navigation in mind. Not as a main goal.

but it turns out that if any sort of widget is capable of being focused, as soon as it’s focused it will automatically change the game mode to UI

The input mode is not changing. If you’re in the Input Mode Game & UI, the focused widget gets the priority to process the input. If unhandled there, the Player Controller will have a go. Standard stuff.

That’s how it has always worked. I took it for a spin and something must have changed recently. It seems that widgets lose focus in a weird way.

  • in the controller:

image

  • in the widget:

This will Print both messages only if I force the widget to keep focus:

image

But the widget stops processing stuff due to focus lost. I mean, technically speaking, getting the attention of the controller should make the widget lose focus.


This is something that the regular buttons are really good at - stealing and keeping focus. I developed my UI in order to avoid that. You’re doing the opposite thing.


do you have any form of input method detection to change button icons in your custom ui?

That should be happening in the onFocusReceived.