-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[Windows] [Multi-window] Share internal plugins #115611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The Windows embedder's plugins are now shared by the engine. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Reopening as the text input plugin's initialization depends on view creation. |
Currently the keyboard tests use global state to track key calls. As a result, a good test can fail if a bad test leaves key calls in the global state. This removes the global state and ensures each test is isolated. Preparation for flutter/flutter#115611 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Currently the text input plugin is strongly tied to a single view. This change makes the text input plugin tied to the engine in preparation for multi-view world. Part of flutter/flutter#115611 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Addressed by flutter/engine#51758 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Background
On Windows, several internal plugins are owned by the view (
FlutterWindowsView
). These plugins are intended to be singletons and should be shared in a multi-view world.Solution
Share internal plugins across views by making them owned by the engine.
The text was updated successfully, but these errors were encountered: