Skip to content

SemanticsActions need to be associated with a view #112207

Closed

Description

@goderbauer

SemanticsActions dispatched to the framework via the PlatformDispatcher.onSemanticsAction callback need to be associated with a view id in which the node the SemanticsAction needs to be performed on is located in.

Instead of extending the arguments list of onSemanticsAction by yet another argument, I suggest replacing onSemanticsAction with onSemanticsActionEvent which takes a SemanticsActionEvent object containing all arguments currently passed to onSemanticsAction + the view id.

Once the framework has been migrated to onSemanticsActionEvent, onSemanticsAction 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. added
    c: new featureNothing broken; request for a new capability
    P3Issues that are less important to the Flutter project
    on Sep 26, 2022
  3. goderbauer commented on Oct 31, 2022

    @goderbauer
    MemberAuthor

    As a first step, we can introduce the new onSemanticsActionEvent API and SemanticsActionEvent object without adding the view ID to SemanticsActionEvent for now. Should be easy to add this in later.

    @a-wallen Maybe you're interested in this?

  4. a-wallen commented on Oct 31, 2022

    @a-wallen
    Contributor

    I am interested, but I won't pick this up until I finish #112202.

  5. github-actions commented on Apr 10, 2023

    @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.

  6. locked as resolved and limited conversation to collaborators on Apr 10, 2023
  7. moved this from Done to Ready in Multi Windowon Apr 18, 2023
  8. unlocked this conversation on Apr 18, 2023
  9. goderbauer commented on Jul 20, 2023

    @goderbauer
    MemberAuthor

    The viewID is present in dart:ui now, but it isn't wired up to embedder API.

  10. mattkae commented on Mar 4, 2025

    @mattkae
    Contributor

    I am working on wiring this up in the embedder API today.

  11. added a commit that references this issue on Mar 20, 2025
  12. github-actions commented on Apr 3, 2025

    @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 Apr 3, 2025
  14. added a commit that references this issue on Jun 9, 2025
  15. added a commit that references this issue on Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions