Editor window grows each time it's opened.

Reproduction: Open UE4 and make sure it’s in windowed mode and not maximized. Position the left edge of the editor window along the left edge of your screen. Size the window by grabbing the right side of the editor so it fills up aprox. 3/4 of your screen horizontally. Close and reopen the editor several times. You should notice the window growing by a few pixels each time.

This is a rather strange issue I’ve noticed ever since 4.0 (currently using 4.7.4). I can’t confirm that it’s a bug or just a design feature. I work with UE4 in windowed mode, mainly because I’m using three monitors in AMD Eyefinity. Whenever you close and re-open the editor, the window grows by a few pixels to the right each time. Eventually the editor grows so large I have to resize it to keep it from running onto my other monitor. I can confirm this happens without using Eyefinity on a standard extended desktop arrangement. I’ve tested this on four other machines as well with the same results. I code in C++ using Visual Studio so I have to frequently close and open the editor to see updated changes. This is a minor nuisance but it would be nice to see it resolved.

Please let me know if you need any more information.

Thanks,

Hey ,

Thank you so much for noticing this issue with the Editor. I have reproduced this in-house and have created a bug report for our developers. If you need to reference this report in the future, please refer to: UE-13308

If you have any further questions, please reply back to this thread.

Thanks!

I’ve been having this issue in 4.10 with the content browser and output/message log. I run those windows in a separate monitor, non maximized. Is this bug still being tracked? This wasn’t an issue for me until 4.10

This is still on our to do list and it’s set as a priority 3.

This one is still around - on the issues page for UE-13308 it’s marked ‘cannot reproduce’…?

I’m running an editor I’ve built from the latest Github master source (4.17) via the command line with an existing project:

Engine\Binaries\Win64\UE4Editor.exe ProjectName

If I run it, close it, run it, close it, etc. then the window grows by 10 pixels each time.

The code that saves out the window size to the config file:

		FSlateRect WindowRect = RootWindow->GetNonMaximizedRectInScreen();
		FRootWindowLocation RootWindowLocation(FVector2D(WindowRect.Left, WindowRect.Top), WindowRect.GetSize(), RootWindow->IsWindowMaximized());
		RootWindowLocation.SaveToIni();

does not make the adjustment you added in CL 2812854.

This is on Windows 8.1 x64 with 2 monitors, opening and running the editor on the 2nd monitor.

Dave