[Wayland-bugs] [Bug 100796] two finder tap release event has the same timestamp as the press event

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 26 10:58:24 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100796

            Bug ID: 100796
           Summary: two finder tap release event has the same timestamp as
                    the press event
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: mildred-bug.freedesktop at mildred.fr

Using libinpt 1.6.3-3 on Fedora 25 x86_64 with GNOME, I have an issue with the
right click behaviour using the two finder tap.

With single finder tap, the left click press and release events have different
and increasing timestamps. This is the expected behaviour.

With two finder tap, right click the press and release events have both the
same timestamp. This can lead to application having difficulties ordering the
press and release events.

This can be found using the xev program.

Most programs seems to handle this correctly, however there are some programs,
such as old windows programs running with wine that can have difficulties
handling this. See https://bugs.winehq.org/show_bug.cgi?id=42897

The correct behaviour is to have two finder tap release events have a different
timestamp than the press event, light for left click

The touchpad configuration is:

INS mildred at elayna:~$ DISPLAY=:0 xinput list-props 10
Device 'Elan Touchpad':
        Device Enabled (139):   1
        Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (281): 1
        libinput Tapping Enabled Default (282): 0
        libinput Tapping Drag Enabled (283):    1
        libinput Tapping Drag Enabled Default (284):    1
        libinput Tapping Drag Lock Enabled (285):       0
        libinput Tapping Drag Lock Enabled Default (286):       0
        libinput Tapping Button Mapping Enabled (287):  1, 0
        libinput Tapping Button Mapping Default (288):  1, 0
        libinput Accel Speed (289):     0.000000
        libinput Accel Speed Default (290):     0.000000
        libinput Natural Scrolling Enabled (291):       0
        libinput Natural Scrolling Enabled Default (292):       0
        libinput Send Events Modes Available (262):     1, 1
        libinput Send Events Mode Enabled (263):        0, 0
        libinput Send Events Mode Enabled Default (264):        0, 0
        libinput Left Handed Enabled (293):     0
        libinput Left Handed Enabled Default (294):     0
        libinput Scroll Methods Available (295):        1, 1, 0
        libinput Scroll Method Enabled (296):   1, 0, 0
        libinput Scroll Method Enabled Default (297):   1, 0, 0
        libinput Click Methods Available (298): 1, 1
        libinput Click Method Enabled (299):    1, 0
        libinput Click Method Enabled Default (300):    1, 0
        libinput Middle Emulation Enabled (301):        0
        libinput Middle Emulation Enabled Default (302):        0
        libinput Disable While Typing Enabled (303):    1
        libinput Disable While Typing Enabled Default (304):    1
        Device Node (265):      "/dev/input/event5"
        Device Product ID (266):        1267, 42
        libinput Drag Lock Buttons (305):       <no items>
        libinput Horizontal Scroll Enabled (306):       1

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170426/a8f5dca7/attachment.html>


More information about the wayland-bugs mailing list