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

[desktop_multi_window] The app is crashing while opening new window #283

Open
lukasz-lukasz-lukasz opened this issue Aug 31, 2023 · 3 comments

Comments

@lukasz-lukasz-lukasz
Copy link

lukasz-lukasz-lukasz commented Aug 31, 2023

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:

  1. Open the example app
  2. Click on the 'Create a new World!' button to create a new window
  3. Repeat step 2) until the app crashes, in meantime you can close windows to avoid having too many opened windows
  4. 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.

31_08_2023_19_23_50 -1693502630
  • Flutter Version: [Channel stable, 3.13.0]
  • OS: [Windows [Version 10.0.19045.3324]
  • plugin: [desktop_multi_window: 0.2.0]
@weedsboy
Copy link

same problem

Flutter Version: [Channel stable, 3.13.1]
OS: [Windows 10 19044.2728]

@fischermario
Copy link

Same problem with desktop_webview_window 0.2.3 😞

Flutter version: 3.13.6 (Channel stable)
OS: Windows 10 (21H2, Build 19044.2965)
WebView2 version: 117.0.2045.43

@fufesou
Copy link

fufesou commented Nov 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants