Skip to content

Move updateSemantics from PlatformDispatcher to FlutterView #112221

Description

@goderbauer

In a multi view world we will be creating separate semantics trees for each view. For this, the updateSemantics should move from the singleton PlatformDispatcher to the individual FlutterViews.

Once the framework has been moved over, the old updateSemantics on the PlatfromDispatcher can be removed.

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    engineflutter/engine related. See also e: labels.
    a: multi windowIssues related to multi window support
    on Sep 22, 2022
  2. self-assigned this
    on Sep 26, 2022
  3. added
    c: new featureNothing broken; request for a new capability
    P3Issues that are less important to the Flutter project
    on Sep 26, 2022
  4. a-wallen commented on Oct 6, 2022

    @a-wallen
    Contributor

    @goderbauer what do you think the tests should look like for this?

  5. goderbauer commented on Oct 6, 2022

    @goderbauer
    MemberAuthor

    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

  6. moved this to In Progress in Flutter Desktopon Oct 24, 2022
  7. moved this from Ready to In Progress in Multi Windowon Oct 24, 2022
  8. Repository owner moved this from In Progress to Done in Multi Windowon Oct 28, 2022
  9. Repository owner moved this from In Progress to Done in Flutter Desktopon Oct 28, 2022
  10. a-wallen commented on Nov 7, 2022

    @a-wallen
    Contributor

    Reopening as flutter-team-archive/engine#37388 reverted the issue that closed this.

  11. a-wallen commented on Nov 18, 2022

    @a-wallen
    Contributor

    Fixed forward by #114857. Can close now that change is landed.

  12. github-actions commented on Dec 2, 2022

    @github-actions

    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 -v and a minimal reproduction of the issue.

  13. locked as resolved and limited conversation to collaborators on Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projecta: multi windowIssues related to multi window supportc: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions