-
Notifications
You must be signed in to change notification settings - Fork 610
[windows] DPI computation returns 0 for anything older than Windows 10 v1703 #572
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
Comments
I believe this is just because the runner is currently building with a dynamic runtime rather than a static runtime. It wouldn't be related to a Flutter exception like you're seeing here. |
This is almost certainly the problem. Sounds like there's a bug in DPI calculation on some machines. |
Most likely this code is failing on those machines: |
Oh, clarkezone actually left a TODO about this:
is 1507, so won't have it. So there's a roadmap for the full solution in the comment. We can start with doing fallback to 96, but we should do the actual fix too. |
That was very enlightening. I checked the computers that can run the app and most of them was version 1903 so I will try to upgrade Windows on broken ones and try again. Edit: It actually worked on all of them after updating Windows. |
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone! I was trying to test my Windows build on some devices.I've transferred windows file in build file to computers and tried to run my app.On some devices the app runs,I mean I can see the window title and borders but inside is just black screen.I couldn't figure out what was happening so I've installed flutter to one of them and this is the output I get when I run the app.I don't know If It's related but flutter asked me to install Windows SDK 8.1 to run the app
And this is the doctor output.
The text was updated successfully, but these errors were encountered: