I use alternative brush size for the eraser (with the option "eraser switch size"). when I pick another color using the advanced color selector in eraser mode, both the eraser and brush end up being the same size. Reproducible: Always Steps to Reproduce: 1.enable eraser switch size and set different size for brush and eraser 2.activate eraser mode in brush tool 3.pick any color in the advanced color selector 4. disabled the eraser mode Actual Results: brush and eraser are the same size Expected Results: brush and eraser should have different sizes using W7, Krita 2.9.6
Hi! Thanks for your report. I can confirm, and it's more subtle even: setting the color appears already to switch off the eraser mode, even though the toolbar doesn't reflect that.
Line numbers given for calligra/2.9 a60bf1f version of /krita/ui/kis_paintop_box.cc On line 412, sigFGColorChanged() is connected to slotUnsetEraseMode(). Removing this line fixes the bug, but I'm too unfamiliar with the code to know if this causes any regressions. Additionally, slotUnsetEraseMode() only calls updateCompositeOp(). slotToggleEraseMode() appears to be the sole function responsible for calling toggleHighlightedButton(m_eraseModeButton) (line 881), which I imagine is why the toolbar icon remained highlighted (the "checked" status of the button still changed with this bug, though).
Git commit 6752dbe794afb8effba426e5c376b7eb79976ef0 by Sven Langkamp. Committed on 24/03/2016 at 10:58. Pushed by langkamp into branch 'master'. Better way to unset the erase mode. This correctly updates the brush size if the eraser brush size option is enabled M +1 -1 libs/ui/kis_paintop_box.cc http://commits.kde.org/krita/6752dbe794afb8effba426e5c376b7eb79976ef0