RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1491525 - Touchpad tap timestamps can confuse some applications
Summary: Touchpad tap timestamps can confuse some applications
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libinput
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Peter Hutterer
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-14 05:25 UTC by Peter Hutterer
Modified: 2018-04-10 11:51 UTC (History)
2 users (show)

Fixed In Version: libinput-1.6.3-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 11:50:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0736 0 None None None 2018-04-10 11:51:59 UTC

Description Peter Hutterer 2017-09-14 05:25:38 UTC
Description of problem:
libinput's timestamps for press and release events on 2-finger touchpad taps are identical. Some applications (e.g. some run under wine) get confused because they cannot order the events correctly. 

This only affects 2 and 3 finger tap, single-finger taps are fine.

Version-Release number of selected component (if applicable):
libinput-1.6.*

How reproducible:
sudo libinput-debug-events --enable-tap

Then do a two-finger tap and observe the timestamps:
-event20  POINTER_BUTTON    +1.43s	BTN_RIGHT (273) pressed, seat count: 1
 event20  POINTER_BUTTON    +1.43s	BTN_RIGHT (273) released, seat count: 0
 event20  POINTER_BUTTON    +2.65s	BTN_RIGHT (273) pressed, seat count: 1
 event20  POINTER_BUTTON    +2.65s	BTN_RIGHT (273) released, seat count: 0
 event20  POINTER_BUTTON    +4.39s	BTN_RIGHT (273) pressed, seat count: 1
 event20  POINTER_BUTTON    +4.39s	BTN_RIGHT (273) released, seat count: 0
 event20  POINTER_BUTTON    +5.46s	BTN_MIDDLE (274) pressed, seat count: 1
 event20  POINTER_BUTTON    +5.46s	BTN_MIDDLE (274) released, seat count: 0


Actual results:
The timestamps should differ slightly between the press and release events.

Comment 1 Peter Hutterer 2017-09-26 03:37:13 UTC
libinput-1.6.3-3.el7 is available in brew

Comment 4 Michael Boisvert 2018-01-09 21:13:32 UTC
Using the reproducer in the description, I am able to see that the timestamps differ slightly between the press and release events:

-event4  POINTER_BUTTON    +1.24s	BTN_RIGHT (273) pressed, seat count: 1
 event4  POINTER_BUTTON    +1.34s	BTN_RIGHT (273) released, seat count: 0
 event4  POINTER_BUTTON    +2.22s	BTN_RIGHT (273) pressed, seat count: 1
 event4  POINTER_BUTTON    +2.29s	BTN_RIGHT (273) released, seat count: 0
 event4  POINTER_BUTTON    +3.15s	BTN_RIGHT (273) pressed, seat count: 1
 event4  POINTER_BUTTON    +3.18s	BTN_RIGHT (273) released, seat count: 0
 event4  POINTER_BUTTON    +6.07s	BTN_MIDDLE (274) pressed, seat count: 1
 event4  POINTER_BUTTON    +6.16s	BTN_MIDDLE (274) released, seat count: 0

Comment 7 errata-xmlrpc 2018-04-10 11:50:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0736


Note You need to log in before you can comment on or make changes to this bug.