Package: libinput10
Version: 1.6.3-1
Severity: normal

Dear Mantainer,

It seems like disable-while-typing[1] feature is not working correctly,
even if it is enabled, it does not honor the timeouts in the code.

This feature has been in there for a while, but I guess I notice it in
Debian because libinput driver superseded synaptic Xorg driver in
stretch. disable-while-typing was possible with synaptic with
syndaemon/synclient, but libinput method seems to be more efficient[2].

At first, I thought the feature was simply not enabled.
GNOME seems to not have an UI for it until 3.24[3][4], but after
installing xinput I see it is enabled.

$ xinput | grep Touchpad
⎜   ↳ 1A586753:00 06CB:8323 Touchpad            id=15 [slave
pointer  (2)]
$ xinput list-props 15| grep Typing
        libinput Disable While Typing Enabled (309):    1
        libinput Disable While Typing Enabled Default (310):    1

To test this:
a. I start typing some sentence in a text editor, 
b. then use the touchpad,
c. and the original application where I was typing is not in focus
anymore.

What I expected would be to the text editor to keep focus even if the
touchpad is pressed when the time between the last key pressed and the
touchpad is less than the established timeout, which in current
packaged version 1.6.3 is 500ms[5].

This setting sounds like a good candidate for a configuration option,
e.g. then it can be set with xinput; but I see in upstream similar
requests closed during issue triagging[6], but that is probably a new
upstream request altogether.

I may be not understanding the feature or stack correctly, so I would
really appreciate if you can point me in the right direction.

1:
https://wayland.freedesktop.org/libinput/doc/latest/palm_detection.html#disable-while-typing
2:
https://who-t.blogspot.pe/2016/08/libinput-and-disable-while-typing.html
3: https://bugzilla.gnome.org/show_bug.cgi?id=764852 4:
https://git.gnome.org/browse/gsettings-desktop-schemas/commit/?id=4c5b1c1df399d6afaaccb237e299ccd1d5d29ddd
5:
https://anonscm.debian.org/cgit/pkg-xorg/lib/libinput.git/tree/src/evdev-mt-touchpad.c?h=libinput-1.6.3-1#n35
6: https://bugs.freedesktop.org/show_bug.cgi?id=88353

-- System Information:
Debian Release: 9.1
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)

$ dpkg-query --show -f='${binary:Package}\t${Version}\n' libinput*
libc6 libudev1 libwacom2 libevdev2 libmtdev1 libc6:amd64
2.24-11+deb9u1 libevdev2:amd64  1.5.6+dfsg-1
libinput-bin    1.6.3-1
libinput10:amd64        1.6.3-1
libmtdev1:amd64 1.1.5-1+b1
libudev1:amd64  232-25+deb9u1
libwacom2:amd64 0.22-1+b1
-- no debconf information


Best,

-Marco

Reply via email to