Bug 1433033 - middle mouse click works inproperly
Summary: middle mouse click works inproperly
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libinput
Version: 25
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-16 15:43 UTC by Matt Jamison
Modified: 2017-05-10 08:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-10 08:35:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Jamison 2017-03-16 15:43:46 UTC
Description of problem:
clicking on the middle mouse button doesn't respond like the left/right click

Version-Release number of selected component (if applicable):
Fedora 25, fully updated.

How reproducible:
100%

Steps to Reproduce:
1. gnome-control-center mouse
2. click on "test your settings"
3. press down the left/right mouse buttons but don't release.  You'll see that the ring shows a mouse press then goes away.  All while the mouse button has been pressed and unreleased.
4. press without releasing the middle mouse button and nothing registers.  Furthermore, even a slow press and release registers nothing.

Actual results:


Expected results:
middle click should act like left/right buttons.

Additional info:
This is on a Lenovo t460p laptop and I'm using the buttons on the laptop.  Plugging in an external mouse works normally.

Comment 1 Peter Hutterer 2017-05-09 22:27:10 UTC
does a quick press/release register anything? The button you press logically belongs to the trackpoint and we set up middle button scrolling on those by default (middle button + up/down on the trackpoint generates scroll events).

because of that, we swallow long clicks because we expect them to be emulated. there's a patchset somewhere to fix that, but it's not applied yet afaict.

Comment 2 Matt Jamison 2017-05-10 00:15:41 UTC
I grabbed libinput-1.7.0-1.fc27.x86_64 out of rawhide and now it's much better.

a middle click is now registered on release of the middle mouse button.
middle clicking on a usb mouse registers upon middle click press down.

This is expected behavior and this bug can now be closed.

thanks,

jamo

Comment 3 Peter Hutterer 2017-05-10 08:35:27 UTC
ok, thanks for testing, much appreciated.


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