Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window size is double the expected resolution on an external screen #86778

Open
AdriaandeJongh opened this issue Jan 4, 2024 · 1 comment
Open

Comments

@AdriaandeJongh
Copy link
Contributor

AdriaandeJongh commented Jan 4, 2024

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:

incorrect.values.mp4

Here's a video on the 16" screen of my MacBook where the values returned are as expected:

correct.values.mp4

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

@AdriaandeJongh
Copy link
Contributor Author

This may potentially be fixed by #86022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants