Bug 105032

Summary: Two-finger scrolling sometimes mistaken as pointer movement when palm rejection is on
Product: Wayland Reporter: Peter Y. Chuang <peteryuchuang>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: A series of two-finger movements, the last of which is recognised as a POINTER_MOTION
A series of two-finger scrolling movements, some of which recognised as pointer motion

Description Peter Y. Chuang 2018-02-10 17:45:43 UTC
Created attachment 137257 [details]
A series of two-finger movements, the last of which is recognised as a POINTER_MOTION

When touch-size-based palm rejection is triggered, two-finger scrolling is occasionally mistaken as one-finger movement, or cursor movement. This problem doesn't seem to happen when the palm isn't there.

In the recording, the last two-finger movement is mistaken as one-finger movement.
As in bug103809, I have trouble replaying the record on my non-MacBook machine, so I'm not sure if this is of much help.
Comment 1 Peter Hutterer 2018-03-06 04:30:01 UTC
urgh, I lost the hwdb again that I need for this device. what are your palm detection thresholds etc? Can you paste your hwdb file here please, thanks
Comment 2 Peter Y. Chuang 2018-04-06 17:09:09 UTC
Sorry for the very late response, I've been too busy to fiddle with the touchpad lately.

I'm not sure what you want here. Do you mean this:

# MacBook8,1 (2015), MacBook9,1 (2016), MacBook10,1 (2017)
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBook8,1:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBook9,1:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBook10,1:*
 EVDEV_ABS_00=::95
 EVDEV_ABS_01=::90
 EVDEV_ABS_35=::95
 EVDEV_ABS_36=::90

# MacBookPro13,* (Late 2016), MacBookPro14,* (Mid 2017)
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro13,1:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro13,2:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro14,1:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro14,2:*
 EVDEV_ABS_00=::96
 EVDEV_ABS_01=::94
 EVDEV_ABS_35=::96
 EVDEV_ABS_36=::94

evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro13,3:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro14,3:*
 EVDEV_ABS_00=::96
 EVDEV_ABS_01=::95
 EVDEV_ABS_35=::96
 EVDEV_ABS_36=::95
Comment 3 Peter Y. Chuang 2018-04-06 17:12:23 UTC
Created attachment 138658 [details]
A series of two-finger scrolling movements, some of which recognised as pointer motion

Also, I've discovered that the problem also occurs when there's no palm.
Comment 4 Peter Hutterer 2018-04-13 02:01:15 UTC
Replaying with libinput 69fe467fbacbc8376d548c3 I can only see pointer axis events, no motion events, sorry. I can't debug this if I can't reproduce it here.
Comment 5 GitLab Migration User 2018-06-05 09:59:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/libinput/libinput/issues/14.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.