Linux (KDE Wayland/GNOME Wayland, Gnome was a bit better for touch use in general but the glitches were the same, IIRC) on a tablet with a Wacom digitizer.
The problem sadly is Wayland. While wayland generally improves touch input, Xournalpp has those hiccups & glitches, for the ones are know are actually GTK bugs. I'm still sticking with Wayland though. I used Xournalpp one year before I switched on Xorg.