I'm using libinput (on nixos 20.03/KDE plasma 5.17 with default configuration), and I've a quite annoying behaviour: when I untouch my touchpad during a selection or a drag and drop, the click is not release directly, and I need to wait ~0.3 seconds to see the click released.
While it may seem minor, it's very annoying, because if I click again, it continues the old selection/drag and drop like if I never released my button. Therefore, if I select something, and want to click on a button right after to perform an action for example, I will in fact change my selection.
Any idea how to change that behaviour?
EDIT: To answer to Hi-Angel, I do have these messages without delay:
event18 POINTER_MOTION +12.343s 0.88/ 0.00 ( +1.00/ +0.00) event18 POINTER_MOTION +12.352s 0.88/ 0.00 ( +1.00/ +0.00) event18 - button state: touch 0 from BUTTON_STATE_AREA event BUTTON_EVENT_UP to BUTTON_STATE_NONE event18 - button state: touch 0 from BUTTON_STATE_NONE event BUTTON_EVENT_IN_AREA to BUTTON_STATE_AREA event18 POINTER_MOTION +12.524s 0.00/ 0.88 ( +0.00/ +1.00) event18 POINTER_MOTION +12.541s 0.00/ 0.86 ( +0.00/ +1.00)
and I'm using libinput 1.15.0.