Bug report Widget OnFocusReceived not called when in a Vertical/Horizontal Box

To reproduce:

New UserWidget: MyButton

Set IsFocuseable to true
Delete Canvas Panel
Add button
	Add text
Override OnFocusReceived
	Call parent
	Add print string "Button Focus Called"

New UserWidget: Frame

Add VerticalBox or HorizontalBox
	Add MyButton 1 or more times
	Add ScrollBox
		Add MyButton 1 or more times

In Player Actor

OnBeginPlay
	Create Widget Frame
	Add to Viewport/PlayerScreen
	Optional: Set Input UI Only
	Set user focus to any button

Play the game

Use arrow keys to select widgets, widgets in scrollbox OnFocusReceived events are called while none are called in Vertical/Horizontal Box.
1 Like

I’m seeing the same thing, I’m on 4.14.1.

How do you override OnFocusReceived? I’m using 4.15 Preview 3 and looks like OnFocusReceived is not overrideable, while NativeOnFocusReceived is (but looks like it’s not correctly working…it just fires once, then never again).

I’m currently using 4.14.3 so I would’t know about 4.15. It was just in the UMG blueprint functions under override, not in the code but in the editor.

I’m in 4.17.2 and I have the same thing, NativeOnFocusReceived is not being called.

I’m in 4.21.1 now. Same problem

Same issue in 4.26