Wacom: No pen up event with pressure
Summary
When pen is rapidly brought out of range of the digitizer, no pen up event is fired and input is locked at the current pressure setting and current axis. Could possibly be related to not firing pen up event due to the not-zero pressure registered at pen up.
Steps to reproduce
- Use pen on screen with pressure
- Rapidly bring pen out of range
libinput version you encountered the bug on
libinput 1.12.6
Hardware information:
Lenovo Flex 5
Other log output:
-
libinput record
output without pen up event: libinput-nopenup.xml -
libinput record
output with pen up: libinput-normalevent.xml -
libinput debug-events
output without pen up event: libinput-debug-withoutpenup -
libinput debug-events
output with pen up: libinput-debug-normalevent
Event demonstrated as not firing twice and then successfully firing the last time (by bring the pen slowly out of range).