! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
libinput support doesn't allow edge scrolling and circular scrolling
Status:
RESOLVED: INVALID
Product:
Xfce4-settings
Component:
Mouse Settings

Comments

Description Kevin Fenzi 2015-03-01 17:59:41 CET
Greetings. 

Using:

libinput-0.11.0-1.fc23.x86_64
xorg-x11-drv-libinput-0.7.0-4.fc23.x86_64
xfce4-settings-4.12.0-4.fc23.x86_64

and libinput stuff mostly works fine, except for my trackpad the options for 'scrolling mode' have just 'disabled' and 'two-finger scrolling' available. 'Edge scrolling' and 'Circular scrolling' appear in the selection list, but are greyed out and I cannot select them. ;( 

This same laptop works fine with edge scrolling under synaptics and even with libinput in gnome. 

Happy to gather more info or try things. Thanks
Comment 1 Kevin Fenzi 2015-03-01 18:00:37 CET
Adding Oliver here since he added the libinput support. ;)
Comment 2 Olivier Fourdan editbugs 2015-03-01 20:33:32 CET
That seems perfectly normal.

First of all, you can forget circular scrolling, it's not available with libinput.

As for the other methods, xfce4-mouse-settings will query the available methods and make only those listed by libinput as available.

You can quickly check with xiput.

First, list the devices qith "xinput" and identify the touchpad in the list:

$ 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)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=12	[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)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Integrated Camera                       	id=9	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=10	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=13	[slave  keyboard (3)]

Then query the properties on the given device (id=11 in my case as listed above):

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

Here the property "libinput Scroll Methods Available" gives "1, 0, 0" which means that only 2-finger scrolling is available:

http://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/tree/include/libinput-properties.h

/* Scroll method: BOOL read-only, 3 values in order 2fg, edge, button.
   shows available scroll methods */
#define LIBINPUT_PROP_SCROLL_METHODS_AVAILABLE "libinput Scroll Methods Available"

So if edge was available, we would have "1, 1, 0".

What do you get there?
Comment 3 Kevin Fenzi 2015-03-01 20:37:24 CET
yep. I also get: 

libinput Scroll Methods Available (277):	1, 0, 0

So, this is just libinput not providing edge scrolling? Sad. ;(
Comment 4 Olivier Fourdan editbugs 2015-03-01 21:19:15 CET
(In reply to Kevin Fenzi from comment #3)
> yep. I also get: 
> 
> libinput Scroll Methods Available (277):	1, 0, 0
> 
> So, this is just libinput not providing edge scrolling? Sad. ;(

yeap.

Bug #11621

Reported by:
Kevin Fenzi
Reported on: 2015-03-01
Last modified on: 2015-03-01

People

Assignee:
Olivier Fourdan
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information