MixinNetwork / MixinNetwork/flutter-plugins
[desktop_multi_window] Changes to widgets in sub-window not reflected after hot reload/restart
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 7
Description
When you make a change to a widget in the main window and press save, it is immediately reflected (using Visual Studio Code and Flutter extension). For widgets in the sub window, the changes aren't seen until completely stopping and restarting the debug session. Closing and opening the sub window also does not even show the change
Reproduce Steps
Steps to reproduce the behavior:
- Create new Flutter application
- Implement multi_window following instructions / example
- Start the app using VSCode debugger
- Change any widget in the sub window (example: modify App Bar title)
- Press save
- See that change was not reflected
Expected behavior
Should see the change made be reflected in the sub window. Note that this works if you download and run the "example" directory, but starting a brand new project doesn't.
This example project I created demonstrates the issue. Note that also saving seems to break communication (i.e. entering text on main window no longer updates until you close and reopen the window).
Version (please complete the following information):
- Flutter Version: 3.16.9
- OS: MacOS
- plugin: desktop_multi_window: 0.2.0
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 with the linked example project and the plugin's example directory, then reproduce the behavior in a newly created Flutter app using the listed steps. Compare how sub-window changes and communication behave after saving; done means hot reload or reopening the sub-window reflects edits without breaking communication.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, macos
- Domain
- desktop, developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100