If in use, DPI Awareness is set after the initial window size is set.
For a Windowed window, the settings are unable to restore the prior resolution settings on an application restart due to the previous size exceeding the non-DPI Aware display size.
Window's scaling must be enabled at a non-100% value.
1. Create a project with AllowHighDPI enabled
2. Launch a packaged project with -windowed or use r.SetRes to set a windowed resolution.
3. Either by resizing or by using r.SetRes, set the resolution above the non-scaled resolution of the display (For 4K@150%, this is 2560x1440)
4. Close the window
5. Reopen the window with windowed
Expected: UserSettings restores the window to the same size
Actual: UserSettings attempts to restore the window, but new size is greater than the maximum window size and is reset to 1920x1080. This occurs because the sizing code is not DPI aware at this stage.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-308070 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 5.5, 5.6 |
Created | Jul 31, 2025 |
---|---|
Updated | Jul 31, 2025 |