Godot v4.2.1.stable - macOS 14.2.1 - Vulkan (Mobile) - integrated Apple M3 Max - Apple M3 Max (14 Threads)
Issue description
I have a 16" MacBook connected to a 34" external display with a resolution of 3440x1440. The window resolution of the Godot app is reported as the exact double of the true size of the window on the external display.
Expected: 3440x1440
Observed: 6880x2880
Here's a video where the Godot app runs on the external display and returns incorrect values:
Tested versions
Godot v4.2.1.stable
System information
Godot v4.2.1.stable - macOS 14.2.1 - Vulkan (Mobile) - integrated Apple M3 Max - Apple M3 Max (14 Threads)
Issue description
I have a 16" MacBook connected to a 34" external display with a resolution of 3440x1440. The window resolution of the Godot app is reported as the exact double of the true size of the window on the external display.
Expected: 3440x1440 Observed: 6880x2880
Here's a video where the Godot app runs on the external display and returns incorrect values:
https://github.com/godotengine/godot/assets/5611323/1453e9e8-ad6f-4d8e-8d8f-dcdb5abebde4
Here's a video on the 16" screen of my MacBook where the values returned are as expected:
https://github.com/godotengine/godot/assets/5611323/966b0a15-8d32-4ae8-8ca2-a1e114568934
Maybe the screen scale value of the MacBook's screen is incorrectly applied to the screen size of the external display?
Steps to reproduce
Play the MRP on a MacBook connected to an external display, drag the window from one display to the other, and observe the numbers.
Minimal reproduction project (MRP)
MRP.zip