[Wayland-bugs] [Bug 85991] Change scroll thresholds to work as motion/time

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 7 05:33:03 PST 2014


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

--- Comment #1 from Hans de Goede <jwrdegoede at fedoraproject.org> ---
(In reply to Peter Hutterer from comment #0)
> The scroll threshold is triggered by a single event exceeding the built-in
> threshold. This means it relies on the sampling rate of the device, devices
> with lower sampling rate are more likely to have high-enough deltas.

Ack to changing the threshold to a speed threshold, rather then a move length
threshold.

> Likewise, continuous motion just below the threshold never triggers
> scrolling.

Right, this is intentional, because if you want to say scroll only vertical and
do a large vertical sweep, the motion will never be exactly 90 degrees to the
bottom edge, iow it will always have some x component in there, and a little x
component for each event since the movement is at say 88 degrees from the
horizontal,
we do NOT want to accumulate those x deltas as otherwise any attempt to purely
scroll vertical will sooner or later cross the threshold and we will also start
sending out horizontal scroll events.

-- 
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/20141107/542a3b63/attachment-0001.html>


More information about the wayland-bugs mailing list