Public bug reported:

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://bugzilla.redhat.com/show_bug.cgi?id=1476586

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-left-handed
-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-buttonareas-clickfinger dwt-on
-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: ubuntu
     Importance: Undecided
         Status: New

** Package changed: xfce4-settings (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1763339

Title:
  Mouse and trackpad buttons not swapping to left-handed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1763339/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to