Widget Button Focus Resolution Problem

Hello,
I’m facing some issues in MacOS when working on buttons. The problem appears when I change the resolution to something high such as 4k, some buttons won’t get focused anymore even if the mouse hovers on them, others will get focused instead of the right ones.
How could I fix it? Thank you!

Same problem for me :confused:

Has anyone found the answer ?

same issue here, is there a solution for this problem?

Unfortunately I haven’t found a solution yet. The only workaround is forcing the windowed mode.

Hi, I’m at UE4.16,

Thanks for the reply, I’ll keep trying other methods.

I’ll Report here if I found any solution.

If you can reproduce it in a clean project, I suggest submit a bug report through Unreal Engine Community

Then answer relatively fast, either with a reason (or a logical limitation) as to why it works like that, or they create a bug ticket that you can follow.

This one might be relevant (targeted to be fixed in 4.24): Unreal Engine Issues and Bug Tracker (UE-56329)

Test Project: UE4.16.3 Shipping Build, FullscreenMode=0

For 16:9 ratio, only 1280x720 and 1920x1080 work without any focus problem.

Other 16:9 ratio: 800x450, 1024x576, 1600x900 do not work, buttons cannot be focused correctly.

After some trials and errors, I still can’t find a way to reliably change resolution in fullscreen mode.

The workaround for me is set 2 console commands to approximate resolution change:

// 1280X720 50%: 640x360

cmd: r.setres 1280x720

cmd: r.ScreenPercentage 50

// 1920x1080 75%: 1440x810

cmd: r.setres 1920x1080

cmd: r.ScreenPercentage 75

This works in packaged build as well as PIE for me.

Hope this helps.