Bug 459947

Summary: Snap to assistant doesn't work when Eraser mode is ON
Product: [Applications] krita Reporter: kde
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: tomtomtomreportingin
Priority: NOR    
Version First Reported In: 5.1.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde 2022-10-03 18:16:59 UTC
SUMMARY
When "eraser mode" is ON, the "snap to assisnants" tool doen't work.

STEPS TO REPRODUCE
1. create an assistant with the assistant tool
2. select the brush tool
3. draw
4. enable eraser mode
5. enable "snap to assistants" in the Tool Options docker
6. draw (erase)

OBSERVED RESULT
the erasing brush is still freehand, without snapping to the assistant guides

EXPECTED RESULT
the erasing brush should snap to the assistant guides

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: not available (I'm on DWM)
KDE Frameworks Version: 5.98.0-1 (not sure)
Qt Version: 5.15.6+kde+r177-1

ADDITIONAL INFORMATION
Comment 1 tomtomtomreportingin 2022-10-03 18:49:35 UTC
There is a "Snap Eraser" toggle about three lines below the "Snap to Assistants" option. That should resolve your issue.

In past versions, erasers would always snap when snapping to assistants is enabled, but erasers tend to be pretty unwieldy when it comes to snapping, as you may find out when using this option.
Comment 2 kde 2022-10-03 18:56:22 UTC
(In reply to tomtomtomreportingin from comment #1)
> There is a "Snap Eraser" toggle about three lines below the "Snap to
> Assistants" option. That should resolve your issue.
> 
> In past versions, erasers would always snap when snapping to assistants is
> enabled, but erasers tend to be pretty unwieldy when it comes to snapping,
> as you may find out when using this option.

oops, I'm really sorry about that. I hadn't noticed. Thanks