[Wayland-bugs] [Bug 105592] Improve on-button scrolling - send both motion and scroll events for movements
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 3 22:54:52 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105592
Peter Hutterer <peter.hutterer at who-t.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Improve on-button scrolling |Improve on-button scrolling
| |- send both motion and
| |scroll events for movements
Resolution|--- |WONTFIX
Status|NEEDINFO |RESOLVED
--- Comment #6 from Peter Hutterer <peter.hutterer at who-t.net> ---
ok, I'm going to have to say no to this one sorry. Mostly because this is a
rather experimental feature and I can see a fair number of things that can go
wrong when you interleave scroll and motion events.
Realistically, what should happen is that the compositor (using libinput) gets
both events but only forwards the scroll events, using the motion events for
cursor motion only. Alas, this cannot work because there is no association
between those two events. And not forwarding the motion events would mean the
enter/leave status is wrong in the client. That can lead to button clicks going
astray. In other words, the only way this would work is sending both events to
clients and hoping it works. AFAIK, nothing in the desktop stack is prepared
for this right now, so it may work coincidentally but certainly not by design.
Implementing this at such a low level as libinput means we have no
per-application control over the behaviour and, worse, need to implement some
toggle to allow for this behaviour. That again makes the maintenance effort a
lot greater, despite requiring the desktop environments to expose the toggles
for it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180403/4a7d4ec9/attachment.html>
More information about the wayland-bugs
mailing list