Bug 108306 - Double-tap Suppressed by Debounce in VM Guest
Summary: Double-tap Suppressed by Debounce in VM Guest
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact: Xorg Project Team
Depends on:
Reported: 2018-10-09 16:03 UTC by Kevin Kleinfelter
Modified: 2018-10-11 00:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Mouse Event Trace (538 bytes, text/plain)
2018-10-09 16:03 UTC, Kevin Kleinfelter

Description Kevin Kleinfelter 2018-10-09 16:03:20 UTC
Created attachment 141962 [details]
Mouse Event Trace

Fast double-taps get treated as a single click.

Behavior is present in libinput 1.10.4-1 but not in 1.8.2-1ubuntu2. (I haven't tried the versions in between.)  Still present in 1.12.0-1.

I think this is similar to https://bugs.freedesktop.org/show_bug.cgi?id=105974 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.
Comment 1 Daniel van Vugt 2018-10-10 03:02:07 UTC
Please move this bug report to the new tracker:
Comment 2 Peter Hutterer 2018-10-11 00:18:47 UTC
moved to https://gitlab.freedesktop.org/libinput/libinput/issues/158

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.