[Wayland-bugs] [Bug 89999] Add support for 3-finger dragging
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 14 00:42:21 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89999
--- Comment #4 from Peter Hutterer <peter.hutterer at who-t.net> ---
(In reply to Hans de Goede from comment #3)
> (In reply to Peter Hutterer from comment #2)
> > couple of question here, can we do something with a timeout? i.e. three
> > fingers down + timeout X switches to drag motion, otherwise the swipe
> > triggers.
>
> Yes that is possible, do we want to handle this in gestures.c or in tap.c
> though, I've a feeling it belongs in tap.c. because we do not want the
> following sequence to trigger it:
>
> Finger 1 down
> Finger 1 moves over tap threshold
> Fingers 2 + 3 down
> Timeout
>
> Where as having it in the gesture code would lead to the timeout eventually
> activating 3 finger mode, and then if more time is passed before moving,
> switch to 3fg drag-n-drop. I guess one could argue that is desirable
> behavior, and in that case this is easy to implement in the gesture code,
> esp. since the tap statemachine already is too complicated IMHO.
I'd say that's definitely desirable behaviour, because you'd likely move the
pointer somewhere, then just put the extra fingers down to drag without lifting
the first finger first.
> > we don't have any movement restrictions on swipe motions atm, right?
> > anything is a swipe once 3 fingers are down, so maybe we should add
> > restrictions to horizontal/vertical swiping here?
>
> I've deliberately not added any limits as I've seen e.g. usb-touchpads with
> firmware handled gestures which have diagonal swipes, so I would rather
> leave any direction locking up to the user.
right, makes sense.
--
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/20150414/f5d291ea/attachment.html>
More information about the wayland-bugs
mailing list