KDE Wayland + Stylus: wrong cursor behavior

I got a drawing tablet to use with Krita, and the behavior on plasma 6 is great to an extent. I didn’t need custom drivers (even though they’re available), and pressure and tilt are detected OOTB. Just one button is missing, but that happens with the official drivers, too.

My issue is with the way the cursor behaves with Krita and with the desktop in general, and I’ll give some examples:

Resizing a window

Mouse Stylus
Firefox
System settings
Krita

Resizing an element in a window

Mouse Stylus
Firefox
Konsole
Krita

As you can see, the cursors using a stylus are all over the place, sometimes with an offset, sometimes the pointer is the middle of the cursor instead of the top left (in the arrow), and other times the cursor doesn’t change (but it does behave as expected).

In some applications the cursor changes as expected (firefox) but not in official KDE apps?

Some Electron apps behave with wrong offset cursors, but updated ones work ok (latest Discord Canary shows the right window resizing cursor when using the stylus, same as Firefox).

So… yeah, what gives? Should the apps update something? Or Plasma?

The + cursor is fixed with Qt 6.8.1

https://bugreports.qt.io/browse/QTBUG-105843

2 Likes

Have to wait Krita ported to Qt 6. Qt side didn’t backport that fix to Qt5.
Porting is a really heavy work for krita, so maybe have to wait 1~2y. Maybe?

BTW the cursor will be really annoying when DE with 200% scaling on. :cry: