Touchpad: drag instead of cursor movement after small inactivity
Summary
Fast initial movement of one finger on the touchpad, after a period of touchpad inactivity, results in a drag instead of just cursor movement
Last minute edit: actually, the problem seems to be a generated button press event, which in combination with "tapping drag" enabled results in the drag problem.
Disabling "tappping drag" I made the touchpad click on a link with the same steps as below.
I believe the log of libinput debug-events --verbose --enable-tap
(attached in the logs section) shows that extra click
Steps to reproduce
- Don't touch the touchpad for about 2 seconds or more
- Using one finger, try to move the cursor "fast" -> drags (selects texts, etc)
- The same movement, within a tiny window of time after moving the cursor doesn't drag. Moves the cursor as expected.
- Placing and moving a finger, after that window of time, but at a slower speed works as expected.
libinput version you encountered the bug on
1.12.4
pacman -Qi libinput | grep Version
Version : 1.12.4-1
Hardware information:
System Information
Manufacturer: BANGHO
Product Name: CLOUD PRO
SYNA3602:00 0911:5288 Touchpad # ¿this?
/sys/class/dmi/id/modalias
----
dmi:bvnAmericanMegatrendsInc.:bvrYZ-141-BI-Y116AR120-AA44F-065-B:bd01/11/2018:svnBANGHO:pnCLOUDPRO:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvn:ct10:cvrTobefilledbyO.E.M.:
-
does your touchpad have (separate) physical hardware buttons or is the whole touchpad clickable?
It has 2 physical buttons and they are located under functional touchpad area (at the bottom), not separated.
-
Are you using software buttons or clickfinger?
buttonareas with middle button emulation
-
Do you have Tap-to-click behaviour enabled?
Yes
Other log output:
-
libinput record
output: touchpad.ymlNote:
libinput replay
only seems to select text on 1st replay. Subsequent replays don't select any text. -
libinput debug-events --verbose
output: debug-events-no-tap.log -
libinput debug-events --verbose --enable-tap
output: debug-events-with-tap.log
touchpad-edge-detector 97x65 /dev/input/event8
----
Touchpad SYNA3602:00 0911:5288 Touchpad on /dev/input/event8
Move one finger around the touchpad to detect the actual edges
Kernel says: x [0..1799], y [0..999]
Touchpad sends: x [52..1747], y [45..954] \^C-2147483648] /
Touchpad size as listed by the kernel: 119x71mm
User-specified touchpad size: 97x65mm
Calculated ranges: 1695/909
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:SYNA3602:00 0911:5288 Touchpad:dmi:bvnAmericanMegatrendsInc.:bvrYZ-141-BI-Y116AR120-AA44F-065-B:bd01/11/2018:svnBANGHO:pnCLOUDPRO:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvn:ct10:cvrTobefilledbyO.E.M.:*
EVDEV_ABS_00=52:1747:17
EVDEV_ABS_01=45:954:14
EVDEV_ABS_35=52:1747:17
EVDEV_ABS_36=45:954:14
[edit by @whot: removed a few bits we won't need to make the summary shorter]