FS#49523 - [libinput] Middle click stopped working after upgrade to libinput-1.3.0-*

Attached to Project: Arch Linux
Opened by AndrzejL (AndrzejL) - Tuesday, 31 May 2016, 11:22 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 19 June 2016, 17:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Hi guys.

Sometime ago I've noticed that my Silvercrest CML807-M stopped "middleclicking". By that I mean it stopped pasting, closing / opening new tabs in Firefox, open tabs in Dolphin etc. In other words - it stopped working everywhere. Since mouse is more than 3 years old I suspected hardware issues. This suspicion seemed to be confirmed by the fact that xev did not registered middle clicks and that the middle clicks worked sometimes if I pressed and held the middle click hard and long enough. I thought that the mouse is a goner. Today however I've discovered something else as well.

[root@wishmasus andrzejl]# pacman -U /var/cache/pacman/pkg/libinput-1.2.4-1-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) libinput-1.2.4-1

Total Installed Size: 0.44 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [########################################] 100%
(1/1) checking package integrity [########################################] 100%
(1/1) loading package files [########################################] 100%
(1/1) checking for file conflicts [########################################] 100%
(1/1) checking available disk space [########################################] 100%
:: Processing package changes...
(1/1) upgrading libinput [########################################] 100%
:: Running post-transaction hooks...
(1/1) Updating manpage index...
[root@wishmasus andrzejl]#

And all of the sudden middle clicks work normally - hence this bug report.

MotionNotify event, serial 40, synthetic NO, window 0xc00001,
root 0x264, subw 0xc00002, time 46026090, (10,38), root:(2558,100),
state 0x0, is_hint 0, same_screen YES

EnterNotify event, serial 40, synthetic NO, window 0xc00001,
root 0x264, subw 0x0, time 46026098, (3,40), root:(2551,102),
mode NotifyNormal, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 40, synthetic NO, window 0x0,
keys: 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

MotionNotify event, serial 40, synthetic NO, window 0xc00001,
root 0x264, subw 0x0, time 46026098, (3,40), root:(2551,102),
state 0x0, is_hint 0, same_screen YES

LeaveNotify event, serial 40, synthetic NO, window 0xc00001,
root 0x264, subw 0x0, time 46026106, (-8,43), root:(2540,105),
mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
focus YES, state 0

FocusOut event, serial 40, synthetic NO, window 0xc00001,
mode NotifyNormal, detail NotifyNonlinear

The machine is Asus V1S, the mouse is as mentioned before Silvercrest CML807-M and the system is a 64 bit Arch Linux with Plasma 5 as a main DE installed. Everything is upgraded (beside the libinput) at the moment.

With regards.

Andrzej
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 19 June 2016, 17:32 GMT
Reason for closing:  Not a bug
Additional comments about closing:  The new release requires some reconfiguration, this is an intended change by upstream decision.
Comment by AndrzejL (AndrzejL) - Tuesday, 31 May 2016, 11:24 GMT
Just to add - I suspect it could be GPU specific - the machine has NVidia 8600m gt card which runs on the 340xx driver.

Cheers.

Andrzej
Comment by Nicolas Repentin (ouafnico) - Wednesday, 15 June 2016, 20:07 GMT
Hi,

I got the same problem since libinput upgrade to 1.3.1-1. I already had this kind of problem with 1.3.0-1.
I rollback to 1.2.4-1 too :s
Comment by Jordan (hippo) - Thursday, 16 June 2016, 03:07 GMT
My middleclick on my synaptics touchpad also broke.

I reinstalled xf86-input-synaptics and saw that it said I should be using xf86-input-libinput. So I removed xf86-input-synaptics and installed the xf86-input-libinput package.
My steps after swapping packages:

$ xinput

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]

$ xinput list-props "pointer:SynPS/2 Synaptics TouchPad"

Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (144): 1
Coordinate Transformation Matrix (146): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (280): 0
libinput Tapping Enabled Default (281): 0
libinput Tapping Drag Enabled (282): 1
libinput Tapping Drag Enabled Default (283): 1
libinput Tapping Drag Lock Enabled (284): 0
libinput Tapping Drag Lock Enabled Default (285): 0
libinput Accel Speed (286): 0.000000
libinput Accel Speed Default (287): 0.000000
libinput Natural Scrolling Enabled (288): 0
libinput Natural Scrolling Enabled Default (289): 0
libinput Send Events Modes Available (264): 1, 1
libinput Send Events Mode Enabled (265): 0, 0
libinput Send Events Mode Enabled Default (266): 0, 0
libinput Left Handed Enabled (290): 0
libinput Left Handed Enabled Default (291): 0
libinput Scroll Methods Available (292): 1, 1, 0
libinput Scroll Method Enabled (293): 1, 0, 0
libinput Scroll Method Enabled Default (294): 1, 0, 0
libinput Disable While Typing Enabled (295): 1
libinput Disable While Typing Enabled Default (296): 1
Device Node (267): "/dev/input/event15"
Device Product ID (268): 2, 7
libinput Drag Lock Buttons (297): <no items>
libinput Horizonal Scroll Enabled (269): 1

$xinput set-prop "pointer:SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1

I put that set-prop command into my .xinitrc so that it is set every time.
Comment by Alif (alive4ever) - Sunday, 19 June 2016, 15:22 GMT
Please note that xf86-input-libinput should be installed.

I've no problem with Elantech touchpad, libinput-1.3.2-1 and xf86-input-libinput 0.19.0-1. Tapping the touchpad with three fingers still produces expected middle click behavior (such as opening link in a new tab, closing Firefox/Chromium tab, and pasting clipboard content).

Please note that there should be a configuration to enable tapping in the X11 init file. In my case, it's located at /etc/X11/xorg.conf.d/30-touchpad.conf
```
Section "InputClass"
Identifier "MyTouchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
EndSection
```

Loading...