Mouse and trackpad buttons not swapping to left-handed after setting Mouse & Touchpad > Primary Button = Right
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
libinput (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
xserver-xorg-input-libinput (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
I upgraded from 17.10 to 18.04 and found that the settings to swap the buttons for left-hand usage is not working and the buttons stay the same, i.e. left button is primary and the right button is context.
There is a report of the same issue on RedHat: https:/
Running the following commands for libinput reveal that it is working correctly with left-hand setting enabled and pressing the left trackpad or mouse button is BTN_RIGHT and the right button is BTN_LEFT.
$ xinput list-props 13
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (142): 1
Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (307): 1
libinput Tapping Enabled Default (308): 0
libinput Tapping Drag Enabled (309): 1
libinput Tapping Drag Enabled Default (310): 1
libinput Tapping Drag Lock Enabled (311): 0
libinput Tapping Drag Lock Enabled Default (312): 0
libinput Tapping Button Mapping Enabled (313): 1, 0
libinput Tapping Button Mapping Default (314): 1, 0
libinput Natural Scrolling Enabled (315): 1
libinput Natural Scrolling Enabled Default (316): 0
libinput Disable While Typing Enabled (317): 1
libinput Disable While Typing Enabled Default (318): 1
libinput Scroll Methods Available (319): 1, 1, 0
libinput Scroll Method Enabled (320): 1, 0, 0
libinput Scroll Method Enabled Default (321): 1, 0, 0
libinput Click Methods Available (322): 1, 1
libinput Click Method Enabled (323): 0, 1
libinput Click Method Enabled Default (324): 1, 0
libinput Middle Emulation Enabled (325): 0
libinput Middle Emulation Enabled Default (326): 0
libinput Accel Speed (327): 0.000000
libinput Accel Speed Default (328): 0.000000
libinput Left Handed Enabled (329): 1
$sudo libinput debug-events --enable-
-event2 DEVICE_ADDED Power Button seat0 default group1 cap:k
-event5 DEVICE_ADDED Video Bus seat0 default group2 cap:k
-event1 DEVICE_ADDED Lid Switch seat0 default group3 cap:S
-event0 DEVICE_ADDED Sleep Button seat0 default group4 cap:k
-event6 DEVICE_ADDED Wacom Pen and multitouch sensor Finger seat0 default group5 cap:t size 309x174mm calib
-event7 DEVICE_ADDED Wacom Pen and multitouch sensor Pen seat0 default group5 cap:T size 309x174mm calib
-event17 DEVICE_ADDED Integrated Camera: Integrated C seat0 default group6 cap:k
-event10 DEVICE_ADDED HDA Intel PCH Mic seat0 default group7 cap:
-event11 DEVICE_ADDED HDA Intel PCH Headphone seat0 default group7 cap:
-event12 DEVICE_ADDED HDA Intel PCH HDMI/DP,pcm=3 seat0 default group7 cap:
-event13 DEVICE_ADDED HDA Intel PCH HDMI/DP,pcm=7 seat0 default group7 cap:
-event14 DEVICE_ADDED HDA Intel PCH HDMI/DP,pcm=8 seat0 default group7 cap:
-event15 DEVICE_ADDED HDA Intel PCH HDMI/DP,pcm=9 seat0 default group7 cap:
-event16 DEVICE_ADDED HDA Intel PCH HDMI/DP,pcm=10 seat0 default group7 cap:
-event3 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group8 cap:k
-event4 DEVICE_ADDED SynPS/2 Synaptics TouchPad seat0 default group9 cap:pg size 96x60mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonare
-event8 DEVICE_ADDED TPPS/2 IBM TrackPoint seat0 default group10 cap:p left scroll-nat scroll-button
-event9 DEVICE_ADDED ThinkPad Extra Buttons seat0 default group11 cap:kS
-event8 POINTER_BUTTON +2.81s BTN_RIGHT (273) pressed, seat count: 1
event8 POINTER_BUTTON +2.94s BTN_RIGHT (273) released, seat count: 0
event8 POINTER_BUTTON +4.56s BTN_LEFT (272) pressed, seat count: 1
event8 POINTER_BUTTON +4.69s BTN_LEFT (272) released, seat count: 0
affects: | xfce4-settings (Ubuntu) → ubuntu |
affects: | ubuntu → libinput (Ubuntu) |
summary: |
- Mouse and trackpad buttons not swapping to left-handed + Missing left-handed mode to swap buttons around |
no longer affects: | libinput (Ubuntu) |
summary: |
- Missing left-handed mode to swap buttons around + Missing left-handed mode to swap mouse/touchpad buttons around |
Status changed to 'Confirmed' because the bug affects multiple users.