Bug 103301

Summary: Accidental middle click paste with Cyapa touchpad
Product: Wayland Reporter: Paviluf <jeremy9856>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Paviluf 2017-10-16 19:27:24 UTC
Hello Peter,

I sometime have accidental middle click paste with my Cyapa touchpad. I use tap to click and "finger" click method. Sometimes I should slightly touch the touchpad with 3 fingers and that trigger an unwanted middle click paste.

Do you think that can be improved, like detecting accidental 3 fingers touch ?

Do you know a way to disable middle click paste on touchpad ? I think that "gsettings set org.gnome.desktop.interface gtk-enable-primary-paste false" disable middle click paste for mouse but not for touchpad and "gsettings set org.gnome.settings-daemon.plugins.xsettings overrides  "{'Gtk/EnablePrimaryPaste': <0>}"" doesn't seem to do anything.

If there is no way to disable middle click paste on touchpad do you know where I should report the issue to maybe one day have the possibility to do so ?

Thanks !
Comment 1 Peter Hutterer 2017-10-19 08:39:55 UTC
libinput only knows about click, so that's what you'll get out of it. the paste functionality is implemented on the client side. Not that this really matters, a bad 3-finger click is still a problem, regardless what it does.

there is no current option to disable 3fg tap specifically, and we don't have anything to mark an event as a tap. so a client cannot distinguish between a hardware middle click and a tap-based middle click. So short of disabling middle click altogether, there is not much else at this point.

the main question is - *why* do you trigger that accidental 3fg click? and is this something that the thresholds should take care of, if it's a light click only anyway.
Comment 2 Paviluf 2017-11-17 13:05:36 UTC
(In reply to Peter Hutterer from comment #1)
> the main question is - *why* do you trigger that accidental 3fg click? and
> is this something that the thresholds should take care of, if it's a light
> click only anyway.

I triggered some accidental 3fg click when, for instance, I scrolled and unintentionally slightly touch the touchpad with 3 fingers.

The problem appeared when I switch to Kubuntu (16.04 or 17.04 with libinput manually enabled). I have to say that I didn't noticed that problem with Fedora 25 and 26. Anyway since I installed Kubuntu 17.10 which use libinput by default and have a more recent version it seem that it's not a problem anymore.

Thanks !

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.