flutter-plugins icon indicating copy to clipboard operation
flutter-plugins copied to clipboard

[Linux] The Texture widget causes crash in multi-window environment

Open Kingtous opened this issue 3 years ago • 0 comments

The Texture widget cannot run in the sub window, which will easily cause crash on Linux (not every time). Seems there's some data-race problems with multiple windows which has a flutter engine individually.

The Texture widget can run in the main window without any errors.

Reproduce Steps

Steps to reproduce the behavior:

  1. Go to 'rustdesk_desktop_multi_window/example', compile and run
  2. Click on 'create sub window'
  3. See error

Expected behavior

A texture window is opened without any errors.

Version (please complete the following information):

  • Flutter Version: v3.7.2
  • OS: Linux

Kingtous avatar Mar 01 '23 10:03 Kingtous