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

with_max_inner_size() not respected on Windows 10 #2408

Closed
buzmeg opened this issue Aug 3, 2022 · 1 comment
Closed

with_max_inner_size() not respected on Windows 10 #2408

buzmeg opened this issue Aug 3, 2022 · 1 comment
Labels
B - bug Dang, that shouldn't have happened DS - windows

Comments

@buzmeg
Copy link

buzmeg commented Aug 3, 2022

Even if I specify with_max_inner_size() with a PhysicalSize, Windows 10 will happily create a scaled window with more pixels than this (I bumped into this because I had with_max_inner_size() of 2048x2048 but created a window with 1920x1080 which Windows10 scaled 1.25x to (2400, 1350) and crashed my program).

There also seem to be some issues that resize will also allow the window to exceed with_max_inner_size().

Thanks.

@msiglreith
Copy link
Member

thanks for the report, should be fixed with #2393

@msiglreith msiglreith added B - bug Dang, that shouldn't have happened DS - windows labels Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - windows
Development

No branches or pull requests

2 participants