Stylus tracing becomes laggy when something is in contact with the touchscreen at the same time, making it impossible to write anything with the hand supported on the screen. Without touching anything it works ok.
If I turn off the touchscreen before writing it works perfectly, so it's probably something to do with that. I wrote a small script that I use on the rest of my system, that uses xinput test proximity to turn off the touchscreen on proximity in, and turn it back on on proximity out, and works on everything else I've used, but xournal seems to take over and probably turns the touch back on or has another method of handling both (?).
First time submiting a support request, if you need further information on my system please ask. It's a cube i7 stylus, stylus is from wacom, touch is FTSC1000:00 2808:5012. Using gnome3
Thanks
Also, I forgot, this is on Arch using xournal-git version, 0.4.8
This is a bug in Gnome Shell since Gnome 3.16. It has been reported at
https://bugzilla.gnome.org/show_bug.cgi?id=753527
(not very successfully alas).
Unfortunately it is not easy (or logical) for xournal itself to address the issue because it is an issue when touch happens anywhere on the display, not just in the xournal wndow.
The recommended solution is to run a utility to disable the touch feature whenever the pen is nearby (using wacom's proximity detection). There may exist others, but the one I wrote to solve this issue is Xnohands,
https://sourceforge.net/projects/xournal/files/xnohands/xnohands.tar.gz
https://math.berkeley.edu/~auroux/software/xnohands.tar.gz
After compiling it, test it by running it in a terminal (see if seems to auto-detect the right devices or if you need to tweak it) and then starting xournal. If it seems to work, see the readme file for instructions on how to install it and make it part of your gnome startup sequence.
Denis