MixinNetwork / MixinNetwork/flutter-plugins
invokeMethod fails with WindowChannelException(CHANNEL_UNREGISTERED) when communicating between windows using desktop_multi_window: ^0.3.0
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 7
Description
I'm using desktop_multi_window: ^0.3.0 to develop a multi-window application on Windows. I followed the configuration in the example and added the registration code in flutter_window.cpp. After running, multiple windows can be created successfully, but when I try to communicate between windows by calling invokeMethod, I get the following error:
fatal: WindowChannelException(CHANNEL_UNREGISTERED, Channel "lut_watch" not accessible (may be unregistered, bidirectional pair, or permission denied))
How can I resolve this issue?
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 desktop_multi_window example configuration and the registration code in flutter_window.cpp, then reproduce the invokeMethod call between Windows. Confirm the fix by creating multiple windows and communicating through the lut_watch channel without a CHANNEL_UNREGISTERED error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100