Comment 53 for bug 402892

Revision history for this message
Guillaume Carles (gcarles) wrote :

Happens very frequently for me also on a vanilla 18.04 (Thinkpad), but only on a small subset of applications. What's strange is that the bug appeared a few days ago after years without problem.

I do not use any external peripheral (nothing connected to the laptop except the power supply).

An easy solution to solve this without rebooting the whole system is to disable then enable the TouchScreen (disabling alone is not sufficient).

Following Paul Müller's steps:
- find your TouchScreen input ID with ``xinput`` (in my case ``Melfas LGDisplay Incell Touch id=9``
- ``xinput --disable 9``
- ``xinput --enable 9``

If you want to automate this in a script/alias, you can easily retrieve the ID once you know the name of the TouchScreen:
- ``xinput list --id-only 'Melfas LGDisplay Incell Touch'``