I don’t know how to describe this issue. That is pretty annoying.
Randomly, while reading a web page with Firefox (but it happens with Chrome and with Libreoffice as well), the page scroll up to the start, like scrolling with the touchpad or using the up arrow key; trying to scroll down, it looks like there is a “force” putting the page to the up. Also, sometimes, while writing, the cursor randomly start to scroll to the left or to the right (like keeping the left/right arrow key pressed) or even to delete words (backspace). To stop this behavior I have to press a random key. But after some time it start again.
I’m pretty sure that it is not an hardware issue.
The laptop is an HP 250 G6 Notebook PC. This laptop is not mine, so I can’t be more precise. It worked without this issue since Fedora 31 until sometime on Fedora 32. I then upgraded it to Fedora 33 (fresh install), to see if the problem has gone, without any luck.
Looking at the logs, I can spot these suspect lines:
gnome-shell: Window manager warning: last_user_time (8227478) is greater than comparison timestamp (8227428). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around...
gnome-shell: Window manager warning: 0x800001 appears to be one of the offending windows with a timestamp of 8227478. Working around...
gnome-shell: Window manager warning: W274 appears to be one of the offending windows with a timestamp of 62276569. Working around...
gnome-shell: libinput error: event2 - AT Translated Set 2 keyboard: client bug: event processing lagging behind by 46ms, your system is too slow
gnome-shell: libinput error: event3 - SynPS/2 Synaptics TouchPad: client bug: event processing lagging behind by 42ms, your system is too slow
gnome-shell: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
I searched the web for such messages, and I found a lot of results containing these lines, sometimes the reports are pretty old, and affecting any distribution, but always without any valid explanation nor a solution.
Also, I don’t think that there is a load issue. The disk is an SSD. There are only 4GB of RAM, but
free -h reports that at least 1GB is always available. The running applications when the issue arise are usually the web browser alone or Libreoffice. The session is Wayland (maybe I could try to use Xorg).