[Wayland-bugs] [Bug 92772] MOUSE_WHEEL_CLICK_ANGLE gets ignored?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 17 18:04:03 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92772

Peter Hutterer <peter.hutterer at who-t.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libinput                    |Input/libinput
            Version|1.0.1                       |git
           Assignee|wayland-bugs at lists.freedesk |peter.hutterer at who-t.net
                   |top.org                     |
            Product|Wayland                     |xorg
         QA Contact|                            |xorg-team at lists.x.org

--- Comment #4 from Peter Hutterer <peter.hutterer at who-t.net> ---
(In reply to peter.eszlari from comment #2)
> Even without changing it for every toolkit (which is also annoying,
> obviously there should be a central place to set this), 

Unfortunately, "one central place to keep all config options" is a pipe-dream,
requirements for different desktops are quite different. The very fact that we
have a multitude of similar but slightly different desktops is the proof for
that.

> Which I do for dolphin (it's always slow, but that
> seems to be the case because qt5/kde5 doesn't support libinput at the
> moment). For chrome or evince I see no difference.

So here's the basic problem: if you're using libinput under X, events are read
in by the xorg libinput driver and passed to the server. For mouse wheel events
like yours, the driver reads the discrete events (i.e. click events) and passes
them to the server.

The property you're changing changes how many degrees are expected per wheel
click, but this has no effect on the actual event data. Regardless of the
value, the xorg driver still sees one event per click and passes that on.

So while the value is read and handled correctly in libinput, and passed on to
the xorg driver, the driver doesn't use it. Most of X isn't really set up to
change the scroll distances or use custom distances for wheels but your
starting point would be to modify scroll.vdist in xf86libinput.c of the
xf86-input-libinput driver.

I'm changing this over to the xorg libinput driver, but there's no plans on
fixing this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151118/f3c45259/attachment.html>


More information about the wayland-bugs mailing list