[Wayland-bugs] [Bug 90261] Clickfinger behavior generates scroll events for some actions
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 30 16:00:00 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90261
Bug ID: 90261
Summary: Clickfinger behavior generates scroll events for some
actions
Product: Wayland
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: cesar at caih.org
When trying to click and drag, or select text, on a MacBook trackpad, the usual
method is to click with the thumb in the lower part of the trackpad and use the
index finger to drag or select text. This works partially with libinput. There
are some cases where it doesn't work and a (two-finger) scroll event is
generated.
1) When is it working:
* Move the cursor with the index finger to the initial position
* Raise the index finger from the trackpad
* Click with the thumb on the lower part of the trackpad
* Touch again with the index finger and move to drag => OK
2) When it doesn't work:
* Move the cursor with the index finger to the initial position
* Keep the index finger on the trackpad (do not raise it)
* Click with the thumb on the lower part of the trackpad
* Move the index finger to drag => a scroll event is generated
3) Another case that generates a scroll event is the following:
* Repeat the same steps as 1)
* Without raising the finger, release the thumb finger click (keep the finger
touching the trackpad)
* Move the index finger => a scroll event is generated
I believe that the right behavior might be to ignore a thumb finger in the
lower part of the trackpad at all times. Detecting a thumb finger might not be
feasible but some ideas come to mind (similar to how the palm detection works):
* Check the lower 20% of the trackpad only
* A finger in that area that doesn't move vertically (or move little) should be
ignored
* A finger that moves from that area vertically should generate move events
* Maybe scroll events should be generated if both fingers move.
There's some more information on how OS X handles that in the "Finger position
while tracking" section on the trackpad user guide at
https://support.apple.com/en-us/HT201849
--
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/20150430/d68fbb9a/attachment.html>
More information about the wayland-bugs
mailing list