Horizontal scrolling is inverted/incorrect when "libinput Natural Scrolling Enabled"
Reported by
denilsonsa@gmail.com,
Dec 10
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 Steps to reproduce the problem: 1. Grab a Linux system. Lubuntu 18.04 works. 2. Grab a mouse with horizontal scroll. Mine is Logitech MX Master 2S. 3. Open a page that has both horizontal and vertical scroll, so you can test it. Also open some other application (such as Inkscape and Gimp), just for comparison purposes. Scenario 1: Natural Scrolling is DISABLED Run: xinput set-prop 'pointer:MX Master 2S' 'libinput Natural Scrolling Enabled' 0 Now try to scroll. Moving your finger down moves the scrollbar down and the content up. Moving the finger right moves the scrollbar right and the content left. That's normal, that's expected. Scenario 2: Natural Scrolling is ENABLED Run: xinput set-prop 'pointer:MX Master 2S' 'libinput Natural Scrolling Enabled' 1 Now try to scroll. Moving your finger down moves the content down and the scrollbar up. (correct) Moving the finger right moves the content LEFT and the scrollbar RIGHT. (incorrect) However, it works correctly in other applications (such as Inkscape and Gimp). What is the expected behavior? What went wrong? When Natural Scrolling is enabled in libinput, vertical scrolling works correctly; but horizontal scrolling is reversed. This seems to affect Chrome, VLC, LibreOffice. This does not affect Firefox, Gimp, Inkscape, Qt Designer 4.8.7. Did this work before? N/A Chrome version: 70.0.3538.110 Channel: stable OS Version: Ubuntu 18.04 Flash Version:
,
Jan 8
The issue seems to be related to mouse with horizontal scroll, which is not available at TE to test the issue, hence adding "TE-Hardware-Dependency" label to it. Thanks.!
,
Jan 10
Chao, can you take a look at this?
,
Jan 17
(5 days ago)
@reporter, could you grab a trace or maybe a libinput recording so we can take a closer look?
,
Jan 18
(4 days ago)
Do you have any documentation on how to grab such trace and/or how to record libinput? Please tell me what you need and how I can provide it to you. |
||||
►
Sign in to add a comment |
||||
Comment 1 by susan.boorgula@chromium.org
, Dec 10