MixinNetwork / MixinNetwork/flutter-plugins

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

Open
#220 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash in rustdesk_desktop_multi_window/example using the referenced test/texture_sub_window branch, Flutter v3.7.2, and Linux. Compare Texture behavior in the main window and a created sub window; done means the texture window opens without errors or intermittent crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.