New issue
Advanced search Search tips

Issue 867821 link

Starred by 4 users

Issue metadata

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


Show other hotlists

Hotlists containing this issue:
Chromium-Packagers


Sign in to add a comment

Smooth scrolling using touchpad is broken in Chrome 68

Reported by evange...@foutrelis.com, Jul 26

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36

Steps to reproduce the problem:
1. Scroll a page using two fingers on the touchpad.

What is the expected behavior?

What went wrong?
Page scrolls as if the #smooth-scrolling flag is disabled.

Did this work before? Yes 67.0.3396.99

Chrome version: 68.0.3440.75  Channel: stable
OS Version: 
Flash Version: 

Scrolling using the up/down keyboard keys is still smooth. Issue is reproducible with both libinput and the synaptics touchpad driver.

Reverting this CL restores the correct behavior:

    https://chromium-review.googlesource.com/988748

(The above CL originates from this issue:  https://crbug.com/599497#c40 )
 
Cc: susan.boorgula@chromium.org
Components: Blink>Scroll
Labels: -Pri-2 ReleaseBlock-Stable M-68 Target-70 FoundIn-70 Needs-Triage-M68 FoundIn-68 Triaged-ET FoundIn-69 Target-69 Target-68 Pri-1
Owner: chaopeng@chromium.org
Status: Assigned (was: Unconfirmed)
evangelos@ Thanks for the issue.

As per the original comment, assigning the issue to chaopeng@, as this issue was caused by the above given CL.
chaopeng@ : Request you to check and help in further triaging.

Adding 'ReleaseBlock-Stable' as this is a recent regression. Please feel free to remove if it is not applicable.

Thanks..
Labels: Needs-Feedback
Please check if your touchpad driver is libinput or synaptics. libinput should be smooth enough for touchpad. synaptics is out of date driver.

Also please let me know your laptop model.

libinput is expecting to send smooth delta to application. We also tested it is true on Thinkpad X1 and XPS 15. So we disable the smooth scroll animation on libinput otherwise it will feel jumpy on model have good driver. If your model is no smooth maybe you should report to libinput.

>  In addition, that bounding box usually suffers from a low resolution, causing jumpy movement during two-finger scrolling. libinput does not provide two-finger scrolling on those touchpads.
https://wayland.freedesktop.org/libinput/doc/latest/scrolling.html 
Cc: bokan@chromium.org nzolghadr@chromium.org
I normally use the synaptics driver but it also happens with libinput. Laptop is a HP 250 G3 (several years old at this point).

I've asked the person who originally noticed this to maybe chime in here. [1]

[1] https://www.reddit.com/r/archlinux/comments/91zli6/chromium_2fingerscrolling_broken_after_upgrade/

Comment 5 Deleted

Labels: -Pri-1 -ReleaseBlock-Stable Needs-Bisect Pri-2
Reporter, could you provide more details here. Could you attach a video from what you see with libinput driver? I assume you don't have any other extensions or anything that could interfere with the process. Right? Do you see the same jankiness anywhere in any other app with that? Do you happen to have access to other devices? Do you see the same behavior there or is it only reproducible on HP 8570w SynPS/2?

We don't have this very same laptop model here. Can someone from QA does a test if they have access to this?

I remove the releaseblock at this point since the issue doesn't seem to be at that level.
(I have an HP 250 G3; geekzero...@ has an HP 8570w. The following screen recording is from my HP 250 G3.)

Attached is an event capture of slowly scrolling down and up. You might be able to use 'libinput replay' with it to simulate my touchpad's behavior.

I'm also including a screencast replaying the above event log, first on Chromium 67 and then on Chromium 68. You can clearly see that Chromium 68 behaves as if the #smooth-scrolling flag has been disabled.

It might not be an issue with the availability (or not) of high precision input from libinput, but perhaps that the smooth scrolling animation is not being applied (also called "scroll interpolation" in another issue).

I did a build of Chromium 68.0.3440.75 with [1] reverted and the scrolling animation worked again.

[1] https://chromium-review.googlesource.com/988748
libinput-events
253 KB View Download
chromium-smooth-scrolling-2018-07-26_18.42.59.mp4
7.2 MB View Download
OK lets try to add back the scroll animation on Linux.
Labels: -Needs-Bisect
As per comment #6, tested this issue on Ubuntu 17.10 HP Elitebook on the reported version 68.0.3440.75 and the latest Dev 69.0.3497.12 and unable to reproduce the issue.
Able to scroll a page using two fingers on the touchpad and no issues were observed.
Attached are the System details and chrome://gpu details.

Removing 'Needs-Bisect' label as this issue is not reproducible at TE end. Please feel free to add it back if any information is required.

Thanks..
gpu.html
65.8 KB View Download
sys-details.png
447 KB View Download
I've been suffering from this exact issue since upgrading to Chrome 68, just like the original poster, and it never occured to me that it may be a touchpad issue.


After finding this bug report I tested with an external mouse and sure enough it's smooth with the mousewheel, but when scrolling with the touchpad it judders as if smooth scrolling is disabled. 

I was using synaptics, but I tested with libinput with no improvement on both Ubuntu 16.04 LTS and Gentoo stable. Enabling the 'smooth scrolling' flag offers no improvement.

Worked fine up until Chrome 68. 
 

Hardware: Thinkpad T410
Tested OS's: Gentoo Stable (libinput/synaptics) and Ubuntu 16.04 LTS (synaptics)

Sign in to add a comment