Summary: | Trackpad accidental two-finger touch stops cursor movement too early | ||
---|---|---|---|
Product: | Wayland | Reporter: | Christophe de Dinechin <dinechin> |
Component: | libinput | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | peter.hutterer |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 98802, 99268, 104734, 105265 |
Description
Christophe de Dinechin
2017-02-07 10:45:26 UTC
Can you test macos and/or windows to figure out the parameters they're using? Would be useful to have a writeup of what you think happens there, mainly for comparision/inspriration. (In reply to Peter Hutterer from comment #1) > Can you test macos and/or windows to figure out the parameters they're > using? Would be useful to have a writeup of what you think happens there, > mainly for comparision/inspriration. On macOS, if I move the mouse cursor with one finger, and then drop a second finger while the cursor is on a window that can scroll, I observe the following (test done by moving the cursor from top to bottom): # If my mouse cursor is travelling at about 100px/s or more, the second finger has no visible effect. The cursor keeps moving. # If my mouse cursor is moving at 20px/s or less, then the second finger immediately activates scrolling much like in Linux. It's hard to measure the threshold precisely. I don't know of a tool for that. I'll do a test under Windows if I can revive my last PC laptop. (In reply to Peter Hutterer from comment #1) > Can you test macos and/or windows to figure out the parameters they're > using? Would be useful to have a writeup of what you think happens there, > mainly for comparision/inspriration. I may have been somewhat optimistic about Windows doing the right thing ;-) I just tested on a HP Envy dv6, and apparently, the behavior is similar to Linux. I probably did not pay much attention because the trackpad on this machine is so small you tend to naturally have the second finger outside of the tracking area anyways. It was actually quite hard to reach any kind of speed with such a tiny tracking area. Any chance you want to work on this feature? :) (In reply to Peter Hutterer from comment #4) > Any chance you want to work on this feature? :) I can try to take a look, but I'm not familiar at all with the code that deals with that. Ok, I have a preliminary patch for this feature available now for testing: https://github.com/whot/libinput/tree/wip/ignore-moved-touches Let me know how you go, it still needs a bit of tuning but I think that's roughly the behaviour we want? branch has been updated, and the patchset is on the list https://lists.freedesktop.org/archives/wayland-devel/2017-September/034897.html commit de5246dae0201ea951715f62da806f90321978c5 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Jun 21 12:29:52 2017 +1000 touchpad: use motion speed to ignore accidental 2fg touches This change fixes the issue for me! |
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.