leanflutter / window_manager

This plugin allows Flutter desktop apps to resizing and repositioning the window.
https://pub.dev/packages/window_manager
MIT License
676 stars 178 forks source link

[Important] [Windows] Distortion of window while starting up #464

Open KRTirtho opened 1 month ago

KRTirtho commented 1 month ago

After upgrading to Flutter 3.22.1, Window manager is causing the entire UI to be glitched out (distorted) initially after launch.

This is how it looks image

If I turn off/comment out windowManager.ensureInitialized and windowManager.waitUntilReadyToShow function calls, the app shows up completely fine except the Title bar is visible (as expected).

There are no errors/exceptions being thrown at the Console. So, I guess this is caused any embedder change in Flutter engine?

Reverting back to Flutter 3.19.x fixes the issue though

Upstream issue: https://github.com/KRTirtho/spotube/issues/1553

Thanks for your amazing work and the plugin @lijy91 ❤️ Please fix this as soon as possible. Lots of users are affected by it.

KRTirtho commented 1 month ago

There were lots of changes in the Windows embeder EGL which probably lead to this kind of issues. Special focus: https://docs.flutter.dev/release/release-notes/release-notes-3.22.0#desktop