[Bug]: Resolution doesn't change after moving the game window to another monitor with different DPI until the settings are reopened #2
4everDimensions
started this conversation in
Bug
Replies: 1 comment
-
Supplement of device information:Display (U27G3XM): 3840x2160 @ 160 Hz (as 2194x1234) in 27" [External, HDR] * |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Description
Rather than adjusting to the target resolution, the window is now being scaled proportionally after moved into another dpi-different screen, which is not the expected behavior, until re-openning settings and switching to the display tab.
Steps to Reproduce
Step 1: set a window size in game settings
Step 2: move the window to another monitor with a different DPI than the original display
Step 3(Optional): reopen settings, switch to display tab
Screenshots / Logs / Videos
Nothing is to be provided.
Environment Information
Milthm:
- Version: v4.4.3+--9e81769e
- BundleVersion: 4.4.3
- BuildSymbols: MILTHM_INTERNATIONAL_VER
- Platform: WindowsPlayer
- Region: international
Device:
- OperatingSystem: Windows 11 (10.0.26200) 64bit
- Model: System Product Name (ASUS)
- CPU: AMD Ryzen 9 7950X 16-Core Processor
- RAM: 63GB
Culture: Unity:zh-CN, Windows:zh-CN:zh-CN
Monitor:
- MaxStageSize: 1920x1080
- RefreshRateRatio: 60
GPU:
- DeviceName: NVIDIA GeForce RTX 4070 Ti SUPER
- DeviceType: Direct3D11
- DeviceVendor: NVIDIA
- DeviceVersion: Direct3D 11.0 [level 11.1]
- MemorySize: 16063
- MultiThreaded: False
- VulkanVersion: 1.4.304
Audio:
- DisplayName: "扬声器 (3- JBL Quantum Duo)"
- TypeName: Windows Audio
- Name: 扬声器 (3- JBL Quantum Duo)
- ActiveInputChannels: 0
- DefaultInputChannels:
- InputChannelNames:
- ActiveOutputChannels: 3
- DefaultOutputChannels: 3
- OutputChannelNames: Output channel 1, Output channel 2
- AvailableBufferSizes: 144, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 480, 512, 576, 640, 704, 768, 832, 896, 960, 1024, 1152, 1280, 1408, 1536, 1664, 1792, 1920, 2048
- CurrentBufferSizeSamples: 480
- DefaultBufferSize: 480
- AvailableSampleRates: 48000
- CurrentSampleRate: 48000
- CurrentBitDepth: 32
- InputLatencyInSamples: 0
- OutputLatencyInSamples: 480
- IsOpen: True
- IsPlaying: True
Expected Behaviour
re-size window to target resolution after received message WM_DISPLAYCHANGE.
Beta Was this translation helpful? Give feedback.
All reactions