Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Makes PlatformViewsController view to use tracked event's action & pointer count - #47424

Merged
johnmccutchan merged 5 commits into
flutter-team-archive:mainfrom
academy3746:main
Dec 19, 2023
Merged

johnmccutchan merged 5 commits into
flutter-team-archive:mainfrom
academy3746:main

Conversation

@academy3746

@academy3746 academy3746 commented Oct 28, 2023 •

Copy link
Copy Markdown
Contributor

related issue flutter/flutter#111268, flutter/flutter#106190

Motivation:

Modification:

  • Makes PlatformViewsController view to use tracked event's action & pointer count

Result:

  • Now PlatformView scrolls not slowly

  • Close Android PlatformView scrolls slowly. flutter/flutter#111268, WebView very slow when scrolling flutter/flutter#106190

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.

  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.

  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].

  • I signed the [CLA].

  • I listed at least one issue that this PR fixes in the description above.

  • I updated/added relevant documentation (doc comments with ///).

  • I added new tests to check the change I am making, or this PR is [test-exempt].

  • All existing and new tests are passing.

@toda-bps

toda-bps commented Nov 1, 2023

Copy link
Copy Markdown

I have confirmed that this fix resolves flutter/flutter#111268 on my device (HUAWEI MediaPad M5 SHT-W09) 👍

@reidbaker

reidbaker commented Nov 2, 2023 •

Copy link
Copy Markdown
Contributor

Hey in our PR template there is a checklist of items that we expect to see. It looks like you have done most of them but I have added them back for you.

I will add, Thank you for your contribution! I appreciate you taking the time to fix this issue it looks great.

@reidbaker
reidbaker requested a review from dnfield November 2, 2023 18:26
@reidbaker

Copy link
Copy Markdown
Contributor

@johnmccutchan

johnmccutchan commented Nov 2, 2023 •

Copy link
Copy Markdown
Contributor

Please add a unit test that will act as a regression test. That is, a test that captures the slow scrolling behaviour that this PR is fixing.

@chinmaygarde

Copy link
Copy Markdown
Contributor

@academy3746 Are you able to make progress on this?

@jonahwilliams

Copy link
Copy Markdown
Contributor

Friendly ping @dnfield and @johnmccutchan , it looks like this has a test but I can't vouch for it. PTAL

@camsim99

Copy link
Copy Markdown
Contributor

@johnmccutchan can you take a look when you get a chance?

@johnmccutchan johnmccutchan added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 19, 2023
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Dec 19, 2023
@auto-submit

auto-submit Bot commented Dec 19, 2023

Copy link
Copy Markdown
Contributor

auto label is removed for flutter/engine/47424, due to This PR has not met approval requirements for merging. The PR author is not a member of flutter-hackers and needs 1 more review(s) in order to merge this PR.

  • Merge guidelines: A PR needs at least one approved review if the author is already part of flutter-hackers or two member reviews if the author is not a flutter-hacker before re-applying the autosubmit label. Reviewers: If you left a comment approving, please use the "approve" review action instead.

@johnmccutchan
johnmccutchan merged commit bde7c61 into flutter-team-archive:main Dec 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 19, 2023
auto-submit Bot pushed a commit to flutter/flutter that referenced this pull request Dec 19, 2023
flutter-team-archive/engine@42af8f1...bde7c61

2023-12-19 [email protected] Makes PlatformViewsController view to use tracked event's action & pointer count (flutter-team-archive/engine#47424)
2023-12-19 [email protected] Roll Skia from 37a60129e019 to 27ab8a8d2a0d (1 revision) (flutter-team-archive/engine#49213)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
CoderDake pushed a commit to CoderDake/flutter that referenced this pull request Dec 28, 2023
…0367)

flutter-team-archive/engine@42af8f1...bde7c61

2023-12-19 [email protected] Makes PlatformViewsController view to use tracked event's action & pointer count (flutter-team-archive/engine#47424)
2023-12-19 [email protected] Roll Skia from 37a60129e019 to 27ab8a8d2a0d (1 revision) (flutter-team-archive/engine#49213)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

Android PlatformView scrolls slowly.

7 participants