Bug 288220

Summary: eraser mode goes out of sync when changing brush
Product: [Applications] krita Reporter: Cyrille Berger <cberger>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: major CC: dimula73, somsack.sengsavang
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Cyrille Berger 2011-12-04 16:57:11 UTC
* new image
* press "set eraser mode"
* switch to a different brush (ie hairy brush)
* the "set eraser mode" button is still "down", but drawing on the canvas does not erase

More badness:
* press the "set eraser mode" button, it is now "up", but drawing on the canvas does erase
* pressing again, and the bug is gone

Quiet obviously if you go back to the first brush with the button "up", then it is out of sync again.

Expected results: the "set eraser mode" button is in sync with the brush.
Comment 1 Dmitry Kazakov 2011-12-18 11:34:56 UTC
Works here. I have the button synchronized when I change the brush. When I change the brush it switches the button according to the last state of the brush I switch to. When I switch back, it restores the state.
Comment 2 Sven Langkamp 2011-12-28 21:11:24 UTC
Works here too. When I select another paintop the brush button is released.
Comment 3 Dmitry Kazakov 2012-02-08 05:59:49 UTC
Cyrille, could you check whether this bug still happens on your build?