right click on touchpad registers as left click

Bug #1577045 reported by Jan W
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-input-synaptics (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have a HP Pavilion laptop with a Synaptics touchpad. This touchpad has integrated "clicking" buttons.
When I press the right click button, it is correctly registered as right click. However, when I have a finger touching the pad somewhere else (used for scrolling), the right click button is registered as left button (see output of xev below)
I have also provided output of evtest

Use case: I'm moving the mouse cursor with my left hand and then use my right hand to use the right click button. My left hand finger is still touching the pad. When I click the right click button I expect a result accordingly. E.g. right click on the desktop provides a pop up menu.

I have looked at synclient, but not found a setting that solves this (but maybe I didn't look hard enough ;)

Relevant output of XEV:
- I press 'a' on keyboard
- Right click
- I press 'b' on keyboard
- touch pad with finger (nothing registers in xev
- Right click, reported by xev as button 1
- I press 'c' on keyboard

KeyPress event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4461699, (42,41), root:(1784,891),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XmbLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4461815, (42,41), root:(1784,891),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

ButtonPress event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4466534, (42,41), root:(1784,891),
    state 0x10, button 3, same_screen YES

EnterNotify event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0x0, time 4466534, (42,41), root:(1784,891),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 1040

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys: 4294967219 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

ButtonRelease event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4466665, (42,41), root:(1784,891),
    state 0x410, button 3, same_screen YES

LeaveNotify event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0x0, time 4466665, (42,41), root:(1784,891),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 16

KeyPress event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4471571, (42,41), root:(1784,891),
    state 0x10, keycode 56 (keysym 0x62, b), same_screen YES,
    XLookupString gives 1 bytes: (62) "b"
    XmbLookupString gives 1 bytes: (62) "b"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4471657, (42,41), root:(1784,891),
    state 0x10, keycode 56 (keysym 0x62, b), same_screen YES,
    XLookupString gives 1 bytes: (62) "b"
    XFilterEvent returns: False

ButtonPress event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4479598, (42,41), root:(1784,891),
    state 0x10, button 1, same_screen YES

EnterNotify event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0x0, time 4479598, (42,41), root:(1784,891),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 272

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys: 4294967219 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

ButtonRelease event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4479797, (42,41), root:(1784,891),
    state 0x110, button 1, same_screen YES

LeaveNotify event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0x0, time 4479797, (42,41), root:(1784,891),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 16

KeyPress event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4484774, (42,41), root:(1784,891),
    state 0x10, keycode 54 (keysym 0x63, c), same_screen YES,
    XLookupString gives 1 bytes: (63) "c"
    XmbLookupString gives 1 bytes: (63) "c"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0xa00001,
    root 0xb3, subw 0xa00002, time 4484883, (42,41), root:(1784,891),
    state 0x10, keycode 54 (keysym 0x63, c), same_screen YES,
    XLookupString gives 1 bytes: (63) "c"
    XFilterEvent returns: False

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xserver-xorg-input-synaptics 1.8.2-1ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Apr 30 21:18:23 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: kubuntu
InstallationDate: Installed on 2016-02-03 (87 days ago)
InstallationMedia: Error: [Errno 13] Permission denied: '/var/log/installer/media-info'
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0bda:b006 Realtek Semiconductor Corp.
 Bus 001 Device 002: ID 0bda:57eb Realtek Semiconductor Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP Pavilion Notebook
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=43cbb8c2-c0ce-40e2-a795-3a506e63d450 ro quiet splash pci=noaer vt.handoff=7
SourcePackage: xserver-xorg-input-synaptics
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/18/2015
dmi.bios.vendor: Insyde
dmi.bios.version: F.77
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 80A4
dmi.board.vendor: HP
dmi.board.version: 91.1C
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.77:bd12/18/2015:svnHP:pnHPPavilionNotebook:pvrType1ProductConfigId:rvnHP:rn80A4:rvr91.1C:cvnHP:ct10:cvrChassisVersion:
dmi.product.name: HP Pavilion Notebook
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Sat Apr 30 20:38:17 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 22596
 vendor SDC
xserver.version: 2:1.18.3-1ubuntu2

Revision history for this message
Jan W (ubuntu-kiekerjan) wrote :
Revision history for this message
Jan W (ubuntu-kiekerjan) wrote :

I found a workaround by installing the libinput driver. I did the following:

Remove the synaptics driver:
  sudo aptitude purge xsever-xorg-input-synaptics

Make sure the configuration file is gone
  sudo rm /etc/X11/xorg.conf.d/50-synaptics.conf

Install the libinput driver and tools
  sudo aptitude install xserver-xorg-input-libinput libinput-tools

Restart the x-server

The libinput driver should autoconfigure. Also, the KDE system settings can work with libinput, you might for instance want to enable Tapping.
There are a lot of settings on the Synaptics driver that are not available on the libinput driver, so your mileage may vary. I'm not using most of them so for now I'm going to see what will happen when I use the libinput driver.

Jan W (ubuntu-kiekerjan)
tags: added: libinput wily
removed: amd64
tags: added: xenial
removed: wily
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.