Stylus-touch arbitration does not ignore touch inputs on pen hovering.
Summary
When using the "Lenovo Precision Pen 2 (2023)" on a "Lenovo Yoga 9 14IAP7" the stylus-touch arbitration only ignores touch inputs when the pen is touching the screen, not on the hover event though, despite being correctly recognized. This is making writing with the pen much more difficult as the screen can erratically move around due to the palm generating touch events dragging the screen while lifting the pen for e.g. starting to write a new word.
In the attached log, I constantly made touch inputs and there one can see, that they are correctly ignored as long as the pressure is non-zero (pen is down on the screen). Once the pen is hovering though (pressure 0.00) the touch events are starting to get logged.
Steps to reproduce
- Bring the pen into proximity of the screen, so the hover is correctly recognized.
- Touch the screen at the same time.
- Touch should still work despite stylus-touch arbitration being enabled.
Required information
- libinput version: libinput-1.24.0-1.fc39.x86_64
- hardware information: Lenovo Yoga 9 14IAP7
-
libinput record
output: stylus-touch-arbitration.yml -
libinput debug-events --verbose
output: debug-output.log