You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SemanticsActions need to be associated with a view #112207
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.
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.
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.
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.
Activity
goderbauer commentedon Oct 31, 2022
As a first step, we can introduce the new
onSemanticsActionEventAPI andSemanticsActionEventobject without adding the view ID toSemanticsActionEventfor now. Should be easy to add this in later.@a-wallen Maybe you're interested in this?
a-wallen commentedon Oct 31, 2022
I am interested, but I won't pick this up until I finish #112202.
github-actions commentedon Apr 10, 2023
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.goderbauer commentedon Jul 20, 2023
The viewID is present in dart:ui now, but it isn't wired up to embedder API.
mattkae commentedon Mar 4, 2025
I am working on wiring this up in the embedder API today.
(#112207) Adding `view_id` parameter to DispatchSemanticsAction and U…
github-actions commentedon Apr 3, 2025
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.(flutter#112207) Adding `view_id` parameter to DispatchSemanticsActio…
(flutter#112207) Adding `view_id` parameter to DispatchSemanticsActio…