<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - sporadic duplicate ButtonPress/ButtonRelease events for left mouse button only"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100057">100057</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>sporadic duplicate ButtonPress/ButtonRelease events for left mouse button only
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>libinput
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>joe.harvell.x@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=130061" name="attach_130061" title="Xorg Server log file">attachment 130061</a> <a href="attachment.cgi?id=130061&action=edit" title="Xorg Server log file">[details]</a></span>
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
(<a href="http://superuser.com/questions/750818/x11-evdev-mouse-generates-duplicate-events">http://superuser.com/questions/750818/x11-evdev-mouse-generates-duplicate-events</a>).
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>