Bug 487281 - Touchpad is not automatically disabled while typing
Summary: Touchpad is not automatically disabled while typing
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 14:37 UTC by Nuno Gomes
Modified: 2024-07-05 04:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Gomes 2024-05-20 14:37:49 UTC
SUMMARY

When I write on my laptop, as soon as my palms touch the touchpad, the mouse travels anywhere on the screen and I often see large chunks of text being selected and replaced by what I'm writing at the moment.
I tried to select and deselect "Disable while typing" in the settings, but the behaviour is the same whatever option I use, whether I use X11 or Wayland.

STEPS TO REPRODUCE
1. Open any text editor on a laptop running a Linux distro with KDE Plasma.
2. Start typing.
3. 

OBSERVED RESULT

The mouse pointer goes wild and very often large chunks of text are selected and replaced by what we're typing at the moment.

EXPECTED RESULT

The working environment/OS is able to properly detect the palms on the touchpad and deactivate the latter while we're typing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: TUXEDO OS 3 jammy 22.04 x86_64
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION

Kernel Version: 6.5.0-10036-tuxedo (64-bit)
Graphics Platform: X11
Comment 1 Nate Graham 2024-05-24 01:35:14 UTC
The "disable touchpad while typing" feature is provided by the Libinput library. In KDE code, we provide an option to turn it on or off, but we can't control its behavior.

It sounds like Libinput's palm rejection feature may not be working for your trackpad hardware. I'd recommend you either report it to Libinput itself at https://gitlab.freedesktop.org/libinput/libinput/-/issues/, or to the Tuxedo people if you're using one of their laptops. They'll certainly want to know that palm rejection isn't working properly.
Comment 2 Nuno Gomes 2024-07-05 04:47:42 UTC
(In reply to Nate Graham from comment #1)
> The "disable touchpad while typing" feature is provided by the Libinput
> library. In KDE code, we provide an option to turn it on or off, but we
> can't control its behavior.
> 
> It sounds like Libinput's palm rejection feature may not be working for your
> trackpad hardware. I'd recommend you either report it to Libinput itself at
> https://gitlab.freedesktop.org/libinput/libinput/-/issues/, or to the Tuxedo
> people if you're using one of their laptops. They'll certainly want to know
> that palm rejection isn't working properly.

I contacted Tuxedo, but they replied saying that «unfortunately we have no influence. This is more a matter for those who provide this feature, be it Xorg or Wayland or the desktop environment programmers. From what I’ve heard, this feature works better under Wayland. But if it doesn’t, then unfortunately our hands are tied.»

It doesn't seem to be related to the brand of touchpad, as I have the same problem on a Lenovo T420 - this was my work machine for several years until recently. However, I never bothered with it because I just used the trackpoint.

I'll report it to Libinput, as you suggest.