Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1256045 - Libinput regularly interprets two-finger scrolling as right-mouse click
Summary: Libinput regularly interprets two-finger scrolling as right-mouse click
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libinput
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-23 15:55 UTC by Richard Geary
Modified: 2015-09-21 10:47 UTC (History)
2 users (show)

Fixed In Version: 1.0.1-3.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-21 10:47:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Scroll up and down. Play in a chrome window (42.71 KB, text/plain)
2015-08-23 15:55 UTC, Richard Geary
no flags Details
Another accidental right-click example (148.21 KB, text/plain)
2015-08-25 04:18 UTC, Richard Geary
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 91818 0 None None None Never

Description Richard Geary 2015-08-23 15:55:53 UTC
Created attachment 1066060 [details]
Scroll up and down. Play in a chrome window

Description of problem:
Attempting to use the two-finger scroll will regularly be interpreted as a right-mouse click instead.  Using Elan touchpad.

Version-Release number of selected component (if applicable):
libinput-0.99.1-1.fc22

How reproducible:
Regularly, randomly

Steps to Reproduce:
1. Scroll up
2. Scroll down
3. Right-mouse button menu will appear

Actual results:
Right mouse button menu appears

Expected results:
Scrolling

Additional info:
See attached. I do a two-finger movement up then down. The up movement scrolls, the down registers a right-click.  Play in a chrome window.

Comment 1 Peter Hutterer 2015-08-24 00:07:50 UTC
confirmed but not sure how to fix this. In your evemu recording at 0.747156 seconds both fingers are released, that's the switch to scrolling down.

first finger down is at 1.117911, at 1.136581 the second finger is set down again. but, and this is the issue: at 1.179478 the second finger is released and there was no significant movement since the down event (~0.2mm for the second finger). Hence libinput interprets this as two-finger tap. The finger is set down again at 1.227328 and continues to move normally, that's the series of scroll events then.

so judging by the event sequence, libinput does the right thing. we need to figure out why the touchpad loses track of the finger. do you notice any other influencing factors here? distance between fingers, speed of motion, etc?

Comment 2 Richard Geary 2015-08-25 04:18:45 UTC
Created attachment 1066729 [details]
Another accidental right-click example

The events where it erroneously detects a right-click occur when I'm intending to scroll only a small number of lines.  The right click menu appears faster than the two-finger scroll reacts, though that may be because two-finger scroll just feels laggy on libinput.

Comment 3 Peter Hutterer 2015-08-30 23:53:10 UTC
ok, this one appears to be a bug in libinput. The order of events here is:

finger 1 down
finger 2 down
finger 1 up
<finger 2 is held down>

imo this order should not trigger a right-button tap and arguably no tap event at all.

Comment 4 Peter Hutterer 2015-08-31 01:31:34 UTC
give this one a try please:
http://koji.fedoraproject.org/koji/taskinfo?taskID=10891768

Comment 5 Richard Geary 2015-08-31 03:01:19 UTC
How do I install this?  Is this in libinput 1.0.0-1.fc22 in updates-testing?
I've installed 1.0.0-1.fc22 and I can get it to occur, but its for very slight movements.

On Windows, if the movement is ambiguous it does both - it brings up the right click menu & scrolls

Comment 6 Peter Hutterer 2015-08-31 04:29:56 UTC
on the bottom, click on the link with your arch description (likely x86_64), then at the next page you'll see a bunch of links to rpm files. download the libinput rpm and install it with sudo dnf install /path/to/rpm and after restarting X it takes effect.

if you have the current -devel or -debuginfo packages installed, you'll either have to remove them first or download the updates for those too.

Comment 7 Richard Geary 2015-09-04 01:44:51 UTC
This seems fixed, thanks!

Comment 8 Fedora Update System 2015-09-07 01:16:53 UTC
libinput-1.0.1-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15235

Comment 9 Fedora Update System 2015-09-07 01:29:28 UTC
libinput-1.0.1-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15236

Comment 10 Fedora Update System 2015-09-07 18:19:36 UTC
libinput-1.0.1-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update libinput'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15236

Comment 11 Fedora Update System 2015-09-07 18:20:55 UTC
libinput-1.0.1-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update libinput'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15235

Comment 12 Fedora Update System 2015-09-15 19:50:23 UTC
libinput-1.0.1-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2015-09-18 20:45:36 UTC
libinput-1.0.1-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16191

Comment 14 Fedora Update System 2015-09-20 14:58:01 UTC
libinput-1.0.1-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update libinput'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16191

Comment 15 Fedora Update System 2015-09-21 10:47:17 UTC
libinput-1.0.1-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.