x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Mouse input is offset in UMG/Slate when the resolution/ViewportSize is changed at run-time (Standalone Game)

Hey guys,

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?

Cheers.

Product Version: UE 4.8
Tags:
more ▼

asked Aug 12 '15 at 06:59 AM in Bug Reports

avatar image

FacePalm.exe
270 13 19 30

avatar image Doug E ♦♦ STAFF Aug 12 '15 at 08:08 PM

Hey FacePalm.exe-

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.

Cheers

Doug Wilson

avatar image FacePalm.exe Aug 13 '15 at 03:57 AM

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. :)

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey FacePalm.exe-

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.

Cheers

Doug Wilson

more ▼

answered Aug 13 '15 at 02:36 PM

avatar image azdcheck Apr 30 '18 at 07:04 AM

I still have this problem. My Unreal Engine version is 4.17.2

avatar image FacePalm.exe May 01 '18 at 12:04 AM

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.

avatar image Nico_Pucho_27 Aug 17 '18 at 05:41 PM

same problem here

avatar image FacePalm.exe Aug 20 '18 at 12:27 AM

So apparently they can't reproduce this issue..... https://issues.unrealengine.com/issue/UE-19988

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....

avatar image erebel55 Apr 15 '19 at 08:39 PM

Why was this marked as "cannot reproduce" when Doug 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?

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question