MixinNetwork / MixinNetwork/flutter-plugins
[Linux] The Texture widget causes crash in multi-window environment
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:
- Go to 'rustdesk_desktop_multi_window/example', compile and run
- Click on 'create sub window'
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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