New issue
Advanced search Search tips

Issue 905593 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Scroll doesn't work on slightly on-going fling animation

Reported by ritter....@gmail.com, Nov 15

Issue description

Steps to reproduce the problem:
1. Launch www.amazon.com (or other long pages)
2. Scroll up or down the page so that fling can occur slightly
3. Right before the fling animation stops, while it's on-going, scroll the page to same direction of animation again.
4. Observe the symptom; the scroll doesn't work and the on-going fling animation still works.

What is the expected behavior?
The fling animation should be canceled and new scroll event should to work.

What went wrong?
On 00:07s and 00:13s in the video of following link, you can see the symptom.

https://youtu.be/0iZzBIGqnkw

It works fine when scrolling again on strong fling animation, which means that the fling animation is canceled well.
The symptom happens only on the weak fling animation or almost on the end of fling animation right before stop.
Also, it happens on any long pages.

Did this work before? Yes Chrome 63

Chrome version: 70.0.3538.80  Channel: stable
OS Version: 9
Flash Version:
 
Components: Blink>Scroll
Labels: Needs-triage-Mobile
Owner: sahel@chromium.org
Status: Assigned (was: Unconfirmed)
I believe Sahel was working on a similar issue. Sahel, did your patch also address this one?
Labels: Needs-Feedback
ritter.han@ there have been a few fixes on Chrome flinging since 70, could you please check the issue on Latest Dev or Canary and see if it is still reproducible or not?

If it happens again please capture and attach a trace here using https://www.chromium.org/developers/how-tos/submitting-a-performance-bug 
@Sahel

Hi, from my test on Chrome Dev 72.0.3620.0, it's still reproducible.
(Chrome canary versions were crashed when executing them on my device)
Attaching trace captured from it.
I performed scroll events just twice
and the symptom happened on the second scroll input.

Thank you.
trace_chrome_dev_72.0.3610.2.json.gz
2.1 MB Download
@Sahel
Any updates?

From my search, it seems like a side-effect of below comment.

https://cs.chromium.org/chromium/src/content/browser/renderer_host/render_widget_host_impl.cc?q=render_widget_host_im&sq=package:chromium&g=0&l=1305

I feel it only works when the current fling was strong enough to be boosted again.
In my case, however, as the current fling was very weak or almost being ended, it won't be boosted again and the new event was just deferred.
Hence, I believe taking care of such weak (or almost ending) fling cases is needed.

Please update the progress and tell me if what I'm thinking now is correct.

Thank you.

Sign in to add a comment