Bug 443549

Summary: Pointer disappears when switching between brushes.
Product: [Applications] krita Reporter: bhoduklal03 <bhoduklal03>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: minor CC: halla
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: NetBSD pkgsrc   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description bhoduklal03@gmail.com 2021-10-10 14:13:40 UTC
SUMMARY
The pointer seems to disappear when I switch between brushes using a button from a tablet. Using the brush fixes it but it appears again and again every time I switch between an eraser and a brush. It also ended up changing the brush size somehow and setting the eraser to be a brush as well, the first time I encountered the bug. 

STEPS TO REPRODUCE
1. Use brush
2. Use pre-defined button to switch between brushes
(Pointer disappears)
3. Use the brush randomly on the canvas
(Pointer reappears in its appropriate size, except for the first time.)

OBSERVED RESULT
Pointer invisible after switching brushes every time, except the first time when it set the brush to the wrong type and changed brush size.

EXPECTED RESULT
Visible Pointer and unaltered brush size for the primary and secondary brush, respectively.


SOFTWARE/OS VERSIONS
Windows: Windows 10 x86_64
macOS: -
Linux/KDE Plasma: -
(available in About System)
KDE Plasma Version: -
KDE Frameworks Version: -
Qt Version: -

ADDITIONAL INFORMATION
I am using the hind button of the stylus of XP-Pen Deco-01 V1, to switch between brushes. 
The Krita Version is 5.1.0-prealpha (git a6e9d3c)
Comment 1 Halla Rempt 2025-05-28 08:44:17 UTC
I'm sorry for the late reply. I have tried to reproduce this with 5.3.0 alpha and my wacom tablet, but I cannot reproduce the bug. I assume you set the switch to previous preset shortcut (normally /) to the tablet button. The only thing I can think of is that there are two actions happening when pretting the tablet button, but that is more of a tablet driver issue.