[Wayland-bugs] [Bug 100057] sporadic duplicate ButtonPress/ButtonRelease events for left mouse button only

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 4 02:31:53 UTC 2017


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

            Bug ID: 100057
           Summary: sporadic duplicate ButtonPress/ButtonRelease events
                    for left mouse button only
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: joe.harvell.x at gmail.com

Created attachment 130061
  --> https://bugs.freedesktop.org/attachment.cgi?id=130061&action=edit
Xorg Server log file

libinput version is 1.6.2

I have only one keyboard and one mouse.  Sometimes the X-server gets into a
state where pressing the left mouse button generates two
ButtonPress/ButtonRelease events for a single press/release:

ButtonPress event, serial 40, synthetic NO, window 0x5a00001,
    root 0x4b9, subw 0x0, time 80885247, (55,108), root:(1959,165),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 40, synthetic NO, window 0x5a00001,
    root 0x4b9, subw 0x0, time 80885295, (55,108), root:(1959,165),
    state 0x100, button 1, same_screen YES

ButtonPress event, serial 40, synthetic NO, window 0x5a00001,
    root 0x4b9, subw 0x0, time 80885310, (55,108), root:(1959,165),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 40, synthetic NO, window 0x5a00001,
    root 0x4b9, subw 0x0, time 80885342, (55,108), root:(1959,165),
    state 0x100, button 1, same_screen YES


Once it gets in this state, maybe the duplicate events happen 1/3 of the time. 
It comes and goes.

I only see this for the left mouse button.

When I press and hold the left mouse button and release only after several
seconds, then the duplicate Press/Release sequence comes after the first
Release:

ButtonPress event, serial 40, synthetic NO, window 0x5a00001,
    root 0x4b9, subw 0x0, time 81126422, (114,108), root:(2018,165),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 40, synthetic NO, window 0x5a00001,
    root 0x4b9, subw 0x0, time 81128158, (114,108), root:(2018,165),
    state 0x100, button 1, same_screen YES

ButtonPress event, serial 40, synthetic NO, window 0x5a00001,
    root 0x4b9, subw 0x0, time 81128166, (114,108), root:(2018,165),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 40, synthetic NO, window 0x5a00001,
    root 0x4b9, subw 0x0, time 81128182, (114,108), root:(2018,165),
    state 0x100, button 1, same_screen YES


Note the times of the last 3 are all close together.

I don't think this is a hardware issue, because I am not the first person to
report this
(http://superuser.com/questions/750818/x11-evdev-mouse-generates-duplicate-events).
 This report was from 2014.

I also have had this happen before years ago on the same system as today (maybe
around 2014), but eventually it went away (I upgrade packages frequently).  I
recently did a major system upgrade.

-- 
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/20170304/3a5b7e0d/attachment-0001.html>


More information about the wayland-bugs mailing list