SUMMARY When running Krita through xwayland on a tablet screen, Krita's cursor icon doesn't seem to change properly between different states, unless the user has the Brush Cursor Icon setting set to "No Cursor". I have observed this behavior in both a Debian sid system and a Fedora 38 Live (USB) system, on a Wacom Cintiq 16. STEPS TO REPRODUCE 1. Set Brush Cursor Icon setting to something other than "No Cursor", such as "Small Circle". 2. Put pen within tablet screen proximity. 3. Hold space, in attempt to pan. OBSERVED RESULT Hand pan icon does not override the brush cursor icon. An inverse way to reproduce buggy behavior is to hold space before putting the pen within tablet screen proximity, in which it will NOT update to the Small Circle icon when the pen moves within tablet screen proximity and panning is exited. The cursor overrides DO work properly when set to "No Cursor". EXPECTED RESULT All brush cursor overrides should work properly. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian Sid and Fedora 38 KDE Plasma Version: 5.27.2 and 5.27.4 KDE Frameworks Version: 5.103.0 and 5.104.0 Qt Version: 5.12.12 (Krita 5.1.5) and 5.15.7 (Krita nightly)
I don't think we can do anything about that... Qt is responsible for selecting cursors.
Perhaps. Apparently I can reproduce the same issue in the also Qt-based Tahoma2D, using the same panning gesture.
Since the problem is mostly mitigated with "No Cursor", perhaps a hacky solution is possible?
For XWayland tablet cursors being broken on Plasma Wayland see https://bugs.kde.org/show_bug.cgi?id=480096
I've tried reproducing this again on my updated Debian sid system with nightly git d42fadb, and the issue no longer occurs.