-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
frame.set_window_size() is not consistent/broken across platforms. #1458
Comments
What about when using |
This works as expected on Linux. macOS works anyway, so I don't need to test anything there. So Windows is still in question. It did not work within |
Ok, so if it was only ever broken in |
It was broken in |
Now that |
You shouldn't need to - use |
So just to be clear, on latest If that is correct, can you please investigate further?
|
I'm currently using commit 95efbbc from 2 days ago, That's the one with your DPI fix. When I use the debugger, |
@sourcebox the call to |
I had a closer look. |
Now we come closer: it works if I set |
So |
Done, see rust-windowing/winit#2242 |
As a workaround for Linux, |
According to my tests, it works as expected only on macOS. With Linux (Mint Cinnamon 20.3), it simply does nothing, on Windows 10, the resulting window size is wrong when called within
setup()
but correct when called fromupdate()
.The text was updated successfully, but these errors were encountered: