Bug 1599417

Summary: M325 middle mouse button needs high pressure to react with recent update of libinput
Product: [Fedora] Fedora Reporter: Ali Akcaagac <aliakc>
Component: libinputAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: aliakc, dchen, peter.hutterer
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-19 22:32:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
libinput debug-events magic none

Description Ali Akcaagac 2018-07-09 17:54:31 UTC
Description of problem:
Pressing the middle mouse button has changed after the update of libinput 1.11.2 made it into the repositories. Now I can barely get any reaction out of it until I issue high pressure on the middle mouse button. The issue wasn't there with the previous 1.11.1 version.

Version-Release number of selected component (if applicable):
1.11.2

How reproducible:
Press middle mouse button of a Logitech M325 Mouse.

Steps to Reproduce:
1. Select some text with left mouse
2. Press middle mouse button to paste it
3.

Actual results:
Mouse needs high pressure to actually do something. Often needs multiple presses to get the pasted text actually pasting.

Expected results:
Behavious as in 1.11.1

Additional info:
M325 Logitech connected to a E325 Notebook from Lenovo.

Comment 1 Ali Akcaagac 2018-07-09 18:03:40 UTC
Created attachment 1457560 [details]
libinput debug-events magic

Here some debug-events output.

But I also like to inform, that I've been using Kernel 4.17.4, which has some known USB regressions.

Both updates: Kernel and Libinput came at the same time. Still Libinput 1.11.1 works normally...

Comment 2 Peter Hutterer 2018-07-12 22:24:07 UTC
libinput has no functionality to handle pressure on buttons and no mouse that I know of even supports that. It's a binary state, down or not down. So it's not the pressure that matters. There is only one patch that affected the mouse between 1.11.1 and 1.11.2 but it applies during device removal only.

So right now I'm guessing that's a kernel issues. Have you tried downgrading libinput and verified it works with the current kernel?

If that is the case, I'll need a libinput record output from the device, and the output of libinput debug-events --verbose of at least one non-working middle-click.

https://wayland.freedesktop.org/libinput/doc/latest/tools.html#libinput-record

Comment 3 Ali Akcaagac 2018-08-19 16:26:41 UTC
I just switched to Fedora 29 (or what will become Fedora 29). The issues seem to have disappeared. Must have been a Kernel regression...

Comment 4 Peter Hutterer 2018-08-19 22:32:24 UTC
ok, thanks. I'm closing this for now but please re-open if it does come back.