Bug 1397526

Summary: Touchpad shown as supporting edge scrolling and two finger scrolling
Product: [Fedora] Fedora Reporter: Brandon Nielsen <nielsenb>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: bnocera, control-center-maint, fmuellner, mkasik, nielsenb, ofourdan, otaylor, rstrode, tiagomatos, walters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-28 17:18:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot showing two-finger scrolling setting on a non two-finger scrolling capable touchpad none

Description Brandon Nielsen 2016-11-22 17:44:46 UTC
Created attachment 1222810 [details]
Screenshot showing two-finger scrolling setting on a non two-finger scrolling capable touchpad

Description of problem:
Laptop is a HP 8510w, libinput shows my touchpad as only supporting edge scrolling, control center offers switches for both edge scrolling and two-finger scrolling.

Neither switch actually seems to enable or disable edge scrolling, though selecting two-finger scrolling will turn off the edge scrolling setting if it's enabled, and vice versa. No matter the position of the toggles, edge scrolling is always enabled.

Version-Release number of selected component (if applicable):
3.22.1-2

How reproducible:
Every time.

Steps to Reproduce:
1. Start computer.
2. Open control center tab for 'Mouse & Touchpad'.
3. Notice two-finger scrolling toggle is present under 'Touchpad' heading even though device is not enumerated as supporting two finger scroll.
4. Notice disabling edge scrolling does not disable edge scrolling.

Actual results:
Two-finger scrolling toggle is displayed erroneously. Edge scrolling toggle does not actually enable or disable edge scrolling.

Expected results:
Two-finger scrolling toggle would not be displayed. Edge scrolling toggle would disable and enable edge scrolling.

Additional info:
libinput-list-devices output for touchpad:

Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event5
Group:            5
Seat:             seat0, default
Size:             54.05x25.33mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *edge 
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

Comment 1 Bastien Nocera 2016-11-23 15:06:34 UTC
(In reply to Brandon Nielsen from comment #0)
> Created attachment 1222810 [details]
> Screenshot showing two-finger scrolling setting on a non two-finger
> scrolling capable touchpad
> 
> Description of problem:
> Laptop is a HP 8510w, libinput shows my touchpad as only supporting edge
> scrolling, control center offers switches for both edge scrolling and
> two-finger scrolling.

I'm guessing you're running Wayland, right? There's no data exported from the compositor to gnome-control-center, so we can't detect what devices support. This needs API added in mutter for us to use.

See https://git.gnome.org//browse/gnome-control-center/tree/panels/mouse/cc-mouse-caps-helper.c?h=gnome-3-22#n98

Comment 2 Brandon Nielsen 2016-11-28 14:11:12 UTC
Correct, this is using Wayland. Using an X.org session shows the correct settings.

Is there an upstream mutter bug?

Comment 3 Bastien Nocera 2016-11-28 17:18:52 UTC
That would be:
https://bugzilla.gnome.org/show_bug.cgi?id=748031