We’re currently working off of 4.8.2, and I’ve found that when re-sizing the View-port in the standalone version of the game, it causes the mouse input to be offset in UMG/Slate.
It seems as though the new view-port size/Resolution is not being updated in Slate/UMG, and is using the old size to calculate the mouse location, which is incorrect.
Has this been fixed at all in newer versions? if so, what change-list in the Git Repo is the fix?
I addeda UMG button to the center of the screen and then using the “setres” console command I tried setting the standalone window to different resolutions. Each time the UMG button would respond to my click when I clicked the center of the screen. If this is not the behavior you’re seeing could you provide reproduction steps for me to create the same setup that you’re using.
So after doing some playing around, swapping between full-screen and windowed mode seems to be the actual issue.
So for example, Swapping between the commands “setres 1024x768f” and “setres 1024x768w” causes the issue to happen.
Specifically on the window mode the game did NOT start in. (so if we started in full-screen, then windowed mode has offset issues.)
I’m guessing this might have something to do with Linux not handling Full-screen correctly. (I’ll enter it as another bug.)
Also forgot to mention in the original bug that i’m working on Ubuntu 14.04 LTS.
NOTE: This is easier to see if there is a button highlight on hover over (Something we have in our game)
Hope that helps.
I was able to reproduce this on both Linux as well as Windows and I’ve entered a bug report (UE-19988) for further investigation.
I still have this problem. My Unreal Engine version is 4.17.2
Probably a good idea to start a new question in the bug reports section with a link to this question.
Also include the repro steps so they can fix it.
So apparently they can’t reproduce this issue…
You’ll need to probably submit a bug and create a new answerhub post.
Hopefully you’ll have better luck getting them to fix this issue than I have…
Why was this marked as “cannot reproduce” when said he could reproduce it?
Can we get more information on this? Are you chalking it up to an issue with Windows and not UE4?
This is still a problem, i’d like to know as well