Bug 104955

Summary: Wrong multitap
Product: Wayland Reporter: Francecso <postadelmaga>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer, postadelmaga
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: list-props
udev information for the device
Wrong tap (record 1)
Wrong tap (record 2)
Wrong tap (record 3)
Correct Swipe (record 4)

Description Francecso 2018-02-05 21:33:17 UTC
Created attachment 137173 [details]
list-props

== Libinput Version: ==
I am using this aur on Arch linux ( so I should be in line with the git version )
-> https://aur.archlinux.org/packages/libinput-git/

$ libinput-list-devices --version
1.7.0

== The issue: == 
In some occasion I got a wrong multitap while swiping this usually happens when I a perform a 3 finger swipe. 
(kind of dangerous if you have 3 finger tap associated with the middle button as you can get random text paste ).



== Note: ==
I would ask you to implement the possibility do disable multi tap based on the number of finger but you already denied this request in the past.  
https://bugs.freedesktop.org/show_bug.cgi?id=99756)
Comment 1 Francecso 2018-02-05 21:38:01 UTC
Created attachment 137174 [details]
udev information for the device
Comment 2 Francecso 2018-02-05 21:46:00 UTC
Created attachment 137175 [details]
Wrong tap (record 1)
Comment 3 Francecso 2018-02-05 21:46:25 UTC
Created attachment 137176 [details]
Wrong tap (record 2)
Comment 4 Francecso 2018-02-05 21:46:40 UTC
Created attachment 137177 [details]
Wrong tap (record 3)
Comment 5 Francecso 2018-02-05 21:47:08 UTC
Created attachment 137178 [details]
Correct Swipe (record 4)
Comment 6 Francecso 2018-02-05 21:52:26 UTC
== Attached evemu-record ==

I have attached 4 evemu-record logs ( all 3 finger up swipes ):
- first 3 logs/swipe contains the wrong tap ( I just swiped up once and suddenly got a tap )
- last log/swipe didn't create any tap event

let me know if I can add any other information in order to help you to debug the issue



== System Information ==
My PC is a Xiaomi "Mi Book Air 13" ( touchpad physical size 110x65mm ) 
$ dmidecode | grep -A3 '^System Information'
  Manufacturer: Timi
  Product Name: TM1613
  Version: A05
Comment 7 Peter Hutterer 2018-02-06 01:01:33 UTC
Please test with a recent version of libinput, 1.7.0 is almost a year old which is quite significant given how many changes libinput sees atm. We're close to having a 1.10 release but 1.9.4 is the latest stable release. 

I replayed both tap recordings here and they both give me a swipe gestures, so maybe this has been fixed?
Comment 8 Francecso 2018-02-07 09:07:52 UTC
Sorry my fault, I reported the wrong libinput version, 1.7.0 is actually the `libinput-list-devices` version ...

The actual libinput version I am using is:

$ libinput --version
1.9.902

So the issue is still present on last version.

How can I replay the recording ?
Comment 9 Peter Hutterer 2018-02-07 22:35:50 UTC
weird, libinput-list-devices shouldn't be installed anymore if you upgraded normally, the libinput tool replaced it.

You can replay the recording using sudo  evemu-play <filename>, then hit enter to start the events. Run that after starting sudo libinput debug-events --enable-tap and it should show either the tap or the swipe events, whichever is detected.

I also recommend using the touchad-edge-detector tool first to check if the axis ranges are correct.
Comment 10 Peter Hutterer 2018-03-05 04:53:03 UTC
ping?
Comment 11 Francecso 2018-04-13 04:48:30 UTC
Hi,.
Sorry for late replay I have been a bit busy with work.

I am now using libinput ver: 1.10.900

Regarding libinput-list-devices:
I am not sure why I still have it maybe it is because I am using this AUR to install last libinput version: https://aur.archlinux.org/packages/libinput-git/

Regarding the issue:
I have played attachment 1 [details] [review] and 2 on my computer and I can see I have the application menu popup ( corresponding to 3 finger tap ) on both of them when I play the first input command.

Also I am not sure if it is related, I noted that sometime I try to do a 3 tap but I got a 2 tap ( this is very annoying because 2 finger tap paste text and while I am coding is not a nice thing to get random stuff pasted here and there )

So I think the issue is still present in the last version of libinput ...

Regarding touchpad-edge-detector:
I'll check and report something next week
Comment 12 Francecso 2018-04-13 04:49:28 UTC
Hi,.
Sorry for late replay I have been a bit busy with work.

I am now using libinput ver: 1.10.900

Regarding libinput-list-devices:
I am not sure why I still have it maybe it is because I am using this AUR to install last libinput version: https://aur.archlinux.org/packages/libinput-git/

Regarding the issue:
I have played attachment 1 [details] [review] and 2 on my computer and I can see I have the application menu popup ( corresponding to 3 finger tap ) on both of them when I play the first input command.

Also I am not sure if it is related, I noted that sometime I try to do a 3 tap but I got a 2 tap ( this is very annoying because 2 finger tap paste text and while I am coding is not a nice thing to get random stuff pasted here and there )

So I think the issue is still present in the last version of libinput ...

Regarding touchpad-edge-detector:
I'll check and report something next week

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.