[Wayland-bugs] [Bug 93504] Reduce/remove two-finger scrolling threshold

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 1 05:56:31 UTC 2016


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

--- Comment #15 from Peter Hutterer <peter.hutterer at who-t.net> ---
ok, this patch breaks (swipe) gestures pretty badly, I'll have to recall that.
it's hard now to trigger a gesture without scroll events, something that will
become a problem when gestures actually do something on the desktop. We'll need
to find a different solution here.

The main problem is: for a swipe gesture, the fingers are effectively in the
same position as for a two-finger scroll event. If the fingers are set down in
separate event frames (likely) we transition from 1 to 2 to 3 fingers in the
gesture state machine. When we hit two fingers we go to scrolling and send the
current state before transitioning to 3 fingers and stopping the scrolling
again.
Pinch gestures can be similarly affected if the two top fingers are set down
before the thumb.

I think we'll need a scroll cancel event to work around this.

-- 
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/20160301/d0224855/attachment.html>


More information about the wayland-bugs mailing list