-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
[Windows 7]Flutter view is drawn only after moving the cursor above the window area #102030
Comments
Hi @alexkmbk, Thanks for filing the issue. Do you see this behavior happening when running in any specific mode debug/profile/release or all modes? Looks like this happening only on windows 7, On Windows 10 it works fine. Additionally, you may try upgrading flutter to flutter doctor -v (windows)
|
Related? #101339 |
Hi @maheshmnj! I have tried both on debug and release mode - same behavior even after updating to the 2.10.4 version. However, I tried it on the Windows Server 2012 R2 and it works just fine (without this issue). So probably it is the Windows 7 thing. |
Thanks for the info @alexkmbk, Labeling this issue for further investigation from the team. |
This PR will fix the blank FlutterView issue by handling the repaint message in FlutterView window. Currently, WM_PAINT msg is not handled in flutter window and the default WindowProc will do nothing but paint the background. In some user cases, e.g., hide/show/min/max the app window, this can result in blank FlutterView if the content is static and there are no running animation. Addresses flutter/flutter#101339 Addresses flutter/flutter#102030
This should be fixed in the next Flutter released by flutter/engine#34306 |
This PR will fix the blank FlutterView issue by handling the repaint message in FlutterView window. Currently, WM_PAINT msg is not handled in flutter window and the default WindowProc will do nothing but paint the background. In some user cases, e.g., hide/show/min/max the app window, this can result in blank FlutterView if the content is static and there are no running animation. Addresses flutter/flutter#101339 Addresses flutter/flutter#102030
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Details
On Windows desktop release build, the window of the application redrawing only after cursor moving above the window area (if there is no any TextField with active input focus on the window form):
Steps to Reproduce
Target Platform: Windows Desktop
Target OS version/browser:Windows 7 64bit
Physical device
Logs
Logs
The text was updated successfully, but these errors were encountered: