Keyboard randomly hangs when on Wayland
When using Wayland, sometimes a key press is stuck for a few seconds, then the key is pressed multiple (10 or 20) times. This happens randomly, in all apps (both native and Xwayland ones). I am using gnome-shell/mutter 3.30.2 on Fedora 29, but I remember this being issue since I started using Wayland in Fedora 27. I am currently using Thinkpad T470s, however I have experienced the same issue on multiple computers (with Intel and AMD GPUs) running Fedora with Wayland.
This is what is in the journal log when this issue happens:
libinput error: client bug: timer event5 keyboard: offset negative (-506ms)
libinput error: client bug: timer event5 keyboard: offset negative (-378ms)