Repository navigation
Move updateSemantics from PlatformDispatcher to FlutterView #112221
Description
Activity
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.a: multi windowIssues related to multi window supportIssues related to multi window support
on Sep 22, 2022 - addedc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityP3Issues that are less important to the Flutter projectIssues that are less important to the Flutter project
on Sep 26, 2022 @goderbauer what do you think the tests should look like for this?
Do we have any tests covering PlatformDispatcher.updateSemantics? Those could be re-purposed, but with calling FlutterView.updateSemantics instead.
I think ultimately, you want a test to ensure that any information passed to FlutterView.updateSemantics is forwarded properly to the embedder API and invokes the expected callbacks there, e.g. https://github.com/flutter/engine/blob/966f249fb132df0f91d326c022adaa0f8d52dd77/shell/platform/embedder/embedder.h#L1740
Reacted by Alex WallenReopening as flutter-team-archive/engine#37388 reverted the issue that closed this.
Fixed forward by #114857. Can close now that change is landed.
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
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Dec 2, 2022
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
- StatusShow more project fieldsDone
In a multi view world we will be creating separate semantics trees for each view. For this, the
updateSemanticsshould move from the singletonPlatformDispatcherto the individualFlutterViews.Once the framework has been moved over, the old
updateSemanticson the PlatfromDispatcher can be removed.