trackpad hi resolution scrolling should not be interpolated |
|||||||
Issue descriptionVersion 51.0.2704.84 (64-bit) OS: Linux, Fedora 24 What steps will reproduce the problem? (1) Enable smooth scrolling (2) Use 2-finger scrolling on a hi-res touchpad(3) What is the expected output? The page is perfectly stuck to my fingers. What do you see instead? The page lags behind. If I turn off smooth scrolling, it's fine. Chrome probably needs to understand what kind of device is generating the scroll events. libinput provides this support. See: http://who-t.blogspot.com.au/2015/03/libinput-scroll-sources.html https://wayland.freedesktop.org/libinput/doc/latest/group__event__pointer.html https://wayland.freedesktop.org/libinput/doc/latest/scrolling.html
,
Jun 17 2016
We recently added support for hi-res touchpads on Linux and it seems to work correctly for me even with smooth scroll enabled. What device are you using?
,
Jun 21 2016
,
Jun 21 2016
https://codereview.chromium.org/688253002 landed in M49 to support xinput2 for linux. It could be that you are experiencing what's described in issue 616995 , where we are starting an animation on a janky page when we should really be instant scrolling. I have a patch in progress for issue 616995 . Also, Could you verify that your device supports xinput2?
,
Jun 21 2016
I'll take a look soon. Thanks for the help.
,
Jun 23 2016
This is on a ThinkPad X240 on Fedora 24.
"xinput test-xi2 11" gives results so I assume it is an xinput2 device.
Here is the output of xinput:
$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=13 [slave keyboard (3)]
This doesn't seem related to slowness of pages. I tried this on the chrome:flags page and it makes a big difference with smooth scrolling on vs. off. When enabled, the scrolling is sloppy and sluggish and when off it's like the page is stuck perfectly to my two fingers.
The sluggishness is also apparent when doing middle-button scroll with the trackpoint.
,
Jun 23 2016
Sorry, the model is actually ThinkPad X260.
,
Jun 23 2016
Thanks for the details. I think the problem here is that we are starting smooth scroll animations for high-precision touchpads when we should really be doing instant scrolls. This may be tricky since we will need to disable the animation depending on the hardware (external mousewheel should still animate). It is also not entirely clear to me that not ever starting an animation for xinput2 is the right thing. We also have the same issue on Windows.
,
Jun 23 2016
> It is also not entirely clear to me that not ever starting an animation for xinput2 is the right thing. At the moment this would work because of r389117, only hi-res devices are handled with xinput2. This may change in the future so it's probably a bad idea to key off that, but you should be able to see what r389117 keys the decision off and use that as well to flip the "precise deltas" flag on events.
,
Jul 24 2016
Just updated to Version 52.0.2743.82 (64-bit) on Linux. Now I don't have hi-res scrolling at all with the touchpad or trackpoint.
,
Jul 24 2016
I found issue 384970 which covers that problem.
,
Nov 15 2016
,
Nov 15 2016
I think a solution for issue 602769 may also work for this.
,
May 18 2017
Chao's going to be doing this for Windows so it'd probably make sense to take a look at Linux after. I think we just need to set the "has high precision delta" on the chrome wheel events based on the OS API.
,
Mar 28 2018
,
May 3 2018
This touchpad scrolling should be better after 68.0.3415.0. Please try out.
,
Jul 5
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by dtapu...@chromium.org
, Jun 16 2016Labels: Hotlist-Input-Dev
Owner: ymalik@chromium.org
Status: Assigned (was: Untriaged)