Bug 90070

Summary: Touchpad - Edge scrolling and two finger scrolling enabled simultaneously - Plus tap to click
Product: Wayland Reporter: Fede <fedevx>
Component: libinputAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=95479
Whiteboard:
i915 platform: i915 features:

Description Fede 2015-04-17 11:39:13 UTC
Hi,

For my touchpad, when using libinput it seems both scrolling methods work simultaneously even when not really enabled.

Let me clarify this. In GNOME settings I do not have two-finger scrolling enabled however both two-finger scrolling and side-scrolling work at the same time. I can use either one. Then, if I enable two-finger scrolling, only two-finger scrolling works (and edge scrolling stops working).

So within the GNOME settings, when checking:

Two finger scroll: I get two finger scroll

When unchecking:

Two finger scroll: I get two finger scroll + side scroll

Any ideas why that happens?

xinput 
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=11	[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)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ TOSHIBA Web Camera - HD                 	id=9	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=10	[slave  keyboard (3)]
    ↳ Toshiba input device                    	id=12	[slave  keyboard (3)]

xinput list-props 11
Device 'SynPS/2 Synaptics TouchPad':
	Device Enabled (140):	1
	Coordinate Transformation Matrix (142):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Tapping Enabled (272):	1
	libinput Accel Speed (273):	0.000000
	libinput Natural Scrolling Enabled (274):	0
	libinput Send Events Modes Available (258):	1, 1
	libinput Send Events Mode Enabled (259):	0, 0
	libinput Left Handed Enabled (275):	0
	libinput Scroll Methods Available (276):	1, 1, 0
	libinput Scroll Method Enabled (277):	0, 1, 0
	Device Node (260):	"/dev/input/event11"
	Device Product ID (261):	2, 7

At the same time, while tap to click works in GNOME, I can't get it to work on GDM. Once in GNOME, tap to click works as expected. I assumed adding this to /etc/X11/xorg.conf.d/99-libinput.conf would do the job but tap to click does not work still. Any ideas on this too?

Section "InputClass"
        Identifier "enable tapping and edge scrolling"
        MatchDriver "libinput"
        Option "ScrollMethod" "edge"
        Option "Tapping" "on"
EndSection

Thanks!
Comment 1 Peter Hutterer 2015-04-20 06:50:46 UTC
are you on Fedora 22? if so, the gdm screen is already Wayland-enabled and your xorg.conf won't apply - the X server is started after login.
Comment 3 Peter Hutterer 2015-04-21 08:07:46 UTC
commit c2f267b4432daacce079098480f35d7d242c3d3c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Apr 21 12:07:55 2015 +1000

    touchpad: don't post 2fg scrolling when edge scrolling is enabled
Comment 4 Fede 2015-04-23 01:14:19 UTC
Hi Peter, I'm using Arch. GDM is wayland enabled but without an interface to configure the settings for how the touchpad should behave there is no way (at least not obvious to me) to set GDM to use tap to click for example.

How do I set tap to click on GDM (wayland enabled)? I can only change the settings once I log into GNOME but then those settings are not effective on the GDM greeter.

Thank you!
Comment 5 Peter Hutterer 2015-04-23 04:37:41 UTC
hmm, I don't know for sure but that's something you might want to file a GNOME bug for. gdm has gsettings somewhere, I don't know off-hand how to set it though, sorry.

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.