Bug 449604

Summary: Snap to assistant is inconsistent between tools when toggled with keyboard shortcut
Product: [Applications] krita Reporter: kde
Component: Tool/AssistantsAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ahab.greybeard
Priority: NOR    
Version First Reported In: 5.0.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde 2022-02-04 15:31:22 UTC
SUMMARY
the snap to assistants option misbehaves when moving back and forth from Freehand Brush Tool and Multibrush Tool using the keyboard shortcut. 

STEPS TO REPRODUCE
1. Select Freehand Brush Tool with keyboard shortcut 'b'
2. Toggle Snap to assistants with keyboard shortcut 's' 
3. Draw: snaps OK
4. Select Multibrush Tool with keyboard shortcut 'q'
5. Draw

OBSERVED RESULT   
It behaves like if the Snap to assistants checkbox were selected although it’s not.  The checkbox must be selected.
If the box is checked manually instead of using the keyboard shortcut, it seems to work OK.

EXPECTED RESULT
Snapping to assistant should be consistent between tools, no matter how they are toggled.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  5.16.5-arch1-1 (64-bit)
KDE Plasma Version:  5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I reported the bug as suggested by @AhabGreybeard in this thread: https://krita-artists.org/t/snap-to-assistants-option-keyboard-shortcut-bug/36299.
Comment 1 Ahab Greybeard 2022-02-04 19:00:01 UTC
I can Confirm this for the Linux appimages 4.4.1, 5.0.2 and the Feb 02 5.1.0-prealpha (git ebcec0b) on Debian 10.