Hello lovely KDE users and devs. Today my adventures as chronic segfault summoner have brought me to this friendly place.
Summary first to make it interesting: I can make various applications crash by rolling my stylus on my drawing tablet.
Why I ask for help instead of making a bug report: I don’t have the last clue how to even begin identifying the culprit.
I am on Archlinux and I have 2 screens on my computer.
I use a 10 year-old Wacom Intuos M. It works perfectly. Or it used to, until I switched Plasma from Xorg to Wayland. I am enjoying the advanced drawing tablet settings too much to switch back, but the buggy behaviour is rather unbearable.
There is an error state which occurs occasionally. Mostly when i grab the stylus and move it from outside of the tablet area over the tablet area.
In the error state, applications show the eraser cursor even though the front tip is facing the tablet. Clicks from the stylus do not register in this state.
I can get out of the error state by turning the stylus around and touching the tablet with the eraser (I will call this “The Procedure”). It works more easily in some applications than others. Krita and Inkscape usualy require only 1 or 2 repetitions of The Procedure. Krita has never crashed during The Procedure. Inkscape crashes occasionally during The Procedure. LibreOffice crashes occasionally during The Procedure.
The most reliable crasher is Xournalpp. It is also Xournalpp where The Procedure is least likely to work at all.
The only alternative to The Procedure is using the mouse and clicking anywhere, but as you can imagine this is even more annoying than rotating the stylus multiple times.
I have learned about the libinput debug-gui, which does not show any strangeness while I am inside the error state.
During my experiments I made Xournalpp crash by rolling the stylus on the tablet. I saved the coredump but I am not sure what to do with it.
Because I don’t know if this is an application issue, a Plasma issue, a Wayland issue, or a driver issue.
Please, is there anyone here who can give me guidance on how to figure this one out? It is bothering me enough that I am willing to invest a few days. I need this drawing tablet to work because I need to work and I cannot work like this.