flutter-plugins
flutter-plugins copied to clipboard
[desktop_multi_window] The app is crashing while opening new window
The app crashes while opening a new window. It isn't frequent but makes the app unstable. It can be because of the version of Flutter.
Reproduce Steps
Steps to reproduce the behavior:
- Open the example app
- Click on the 'Create a new World!' button to create a new window
- Repeat step 2) until the app crashes, in meantime you can close windows to avoid having too many opened windows
- Sometimes it is enough to open 5-10 windows to get crash but sometimes you can open 100 windows without a crash
Expected behavior
The app shouldn't crash while opening a new window.
- Flutter Version: [Channel stable, 3.13.0]
- OS: [Windows [Version 10.0.19045.3324]
- plugin: [desktop_multi_window: 0.2.0]
same problem
Flutter Version: [Channel stable, 3.13.1] OS: [Windows 10 19044.2728]
Same problem with desktop_webview_window 0.2.3 :disappointed:
Flutter version: 3.13.6 (Channel stable) OS: Windows 10 (21H2, Build 19044.2965) WebView2 version: 117.0.2045.43
I'm not sure if the bug if fixed in the main branch of flutter.
Because the implementation of AngleSurfaceManager::SetVSyncEnabled()
is totally different.
https://github.com/fufesou/flutter-engine/releases/tag/bugfix-crash-windows-angle-context-frameBuffer