[Wayland-bugs] [Bug 91818] Right-click generated by tap-and-hold

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 30 17:08:49 PDT 2015


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

            Bug ID: 91818
           Summary: Right-click generated by tap-and-hold
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: peter.hutterer at who-t.net

>From https://bugzilla.redhat.com/show_bug.cgi?id=1256045

Finger order:
first finger down
second finger down
first finger up
second finger held down

This generates a right-click tap event. In the original bug report the main
issue is that this interferes with scroll events. Even without that, a tap with
a finger held down should generate a left-click event, not a right click event.

Possible solution is adding another timeout state to the current transition
from TAP_2 so that the right button event is only generated when the second
finger is also released within the timeout. Otherwise, we can move to the
multitap states or swallow the button event altogether.

Notably, this also requires us to keep track of which finger was released,
since putting first finger down, tapping with the second finger and then
keeping the first finger down is a definitive tap.

-- 
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/20150831/31dd1349/attachment.html>


More information about the wayland-bugs mailing list