Sitelet https://github.com/flutter/flutter/pull/190855
Skip to content

[input] Migrate fuchsia.ui.pointerinjector to TouchSource - #190855

Merged
caroqliu merged 3 commits into
flutter:masterfrom
caroqliu:fuchsia-migrate-pointerinjector
Aug 19, 2026
Merged

caroqliu merged 3 commits into
flutter:masterfrom
caroqliu:fuchsia-migrate-pointerinjector

Conversation

@caroqliu

Copy link
Copy Markdown
Contributor

Removed fuchsia.ui.pointerinjector.Registry usages, dependencies, manifests, and the PointerInjectorDelegate class in the Flutter Runner. Input events for child views are routed directly by Scenic to child TouchSources in Flatland, making parent-side pointer injection obsolete.

Test: touch-input-test, mouse-input-test, text-input-test, flutter_runner_tests
Issue: b/42175685

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Aug 10, 2026
@github-actions github-actions Bot added a: text input Entering text in a text field or keyboard related problems engine flutter/engine related. See also e: labels. platform-fuchsia Fuchsia code specifically labels Aug 10, 2026
@caroqliu
caroqliu force-pushed the fuchsia-migrate-pointerinjector branch from 436fe19 to 4d41694 Compare August 10, 2026 17:22

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the PointerInjectorDelegate class and its associated source, header, and unit test files from the Fuchsia platform shell. Consequently, it removes references to the fuchsia.ui.pointerinjector.Registry service from build configurations, component manifests, integration tests, and the PlatformView implementation. No review comments were provided, so there is no additional feedback.

@caroqliu
caroqliu force-pushed the fuchsia-migrate-pointerinjector branch from 4d41694 to 13259dc Compare August 11, 2026 17:14
Removed fuchsia.ui.pointerinjector.Registry usages, dependencies, manifests,
and the PointerInjectorDelegate class in the Flutter Runner. Input events
for child views are routed directly by Scenic to child TouchSources in
Flatland, making parent-side pointer injection obsolete.

Test: touch-input-test, mouse-input-test, text-input-test, flutter_runner_tests
@caroqliu
caroqliu force-pushed the fuchsia-migrate-pointerinjector branch from 13259dc to 58507f1 Compare August 13, 2026 20:05

@zijiehe-google-com zijiehe-google-com left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is LGTM 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: text input Entering text in a text field or keyboard related problems CICD Run CI/CD engine flutter/engine related. See also e: labels. platform-fuchsia Fuchsia code specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants