Fast Double-tap Treated as Single Click

Bug #1796928 reported by Kevin Kleinfelter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libinput
Fix Released
Unknown
libinput (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

https://gitlab.freedesktop.org/libinput/libinput/issues/158

---

Fast double-taps get treated as a single click.

Behavior is present in Ubuntu 18.04 (libinput 1.10.4-1) but not in 17.10 (libinput 1.8.2-1ubuntu2). Still present in 18.10 daily downloaded 2018.10.08 (libinput 1.12.0-1).

I think this is similar to https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1762536 with different hardware.

I'm trying to run Ubuntu 18.04 in a VMware Fusion guest on a Macbook host. If I double-tap the trackpad fast, it gets treated as a single-click in Ubuntu. If I double-tap slow (but not too slow) it gets treated as a double-click. Hitting the narrow window is hard! This makes it tough to run X in a VM on a Macbook.

I suspect that the host hardware+software delivers a synthesized double-click to the guest, and that the time between the clicks is very small.

evemu-record shows two "VirtualPS/2 VMware Virtual Mouse" devices and a "VMware VMware Virtual USB Mouse". Capture of the first of these is attached. It looks to me like the second tap comes 8 ms after the first, and I'm betting that is treated as bounce.

Bug report also created at https://bugs.freedesktop.org/show_bug.cgi?id=108306
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
DistUpgraded: Fresh install
DistroCodename: bionic
DistroRelease: Ubuntu 18.04
DistroVariant: ubuntu
GraphicsCard:
 VMware SVGA II Adapter [15ad:0405] (prog-if 00 [VGA controller])
   Subsystem: VMware SVGA II Adapter [15ad:0405]
InstallationDate: Installed on 2018-10-09 (1 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: VMware, Inc. VMware Virtual Platform
Package: libinput (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic root=UUID=a0e790b4-4632-4de9-aa52-4dff4fc9fe4f ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Tags: bionic ubuntu
Uname: Linux 4.15.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/19/2017
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd05/19/2017:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: VMware Virtual Platform
dmi.product.version: None
dmi.sys.vendor: VMware, Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~18.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~18.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please:

1. Run 'apport-collect 1796928' on the affected machine.

2. Log the upstream bug in the new tracker: https://gitlab.freedesktop.org/groups/libinput/-/issues

Changed in libinput (Ubuntu):
status: New → Incomplete
no longer affects: libinput
Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : CurrentDmesg.txt

apport information

tags: added: apport-collected bionic ubuntu
description: updated
Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : DpkgLog.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : Lspci.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : Lsusb.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : ProcModules.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : UdevDb.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : XorgLog.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : XorgLogOld.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : Xrandr.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote : xdpyinfo.txt

apport information

Revision history for this message
Kevin Kleinfelter (kkleinfelter) wrote :

1. 'apport-collect 1796928' run on affected machine.

2. Added bug in new tracker as https://gitlab.freedesktop.org/libinput/libinput/issues/158

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Excellent, thanks!

Upstream have proposed a fix 42 minutes ago :)

https://gitlab.freedesktop.org/libinput/libinput/merge_requests/116

Changed in libinput (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
description: updated
Revision history for this message
Konstantin (hi-angel-z) wrote :

Have this fix been backported to Ubuntu libinput packages? I'm asking, because they're typically ancient there, so I don't think that because it's been fixed upstream, it was fixed in Ubuntu as well.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

should be fixed since 19.04

Changed in libinput (Ubuntu):
status: Triaged → Fix Released
Changed in libinput:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.