SUMMARY From KA topic https://krita-artists.org/t/vector-shapes-filled-with-gradient-bug/25114/2?u=grum999 STEPS TO REPRODUCE Download attached example file 1. Create a vector shape, with line color + fill color. 2. Select shape, Change fill color 3. Draw a new shape with border line color defined as color brush. =>The color brush is not applied (applied: last color used to fill previous shape) 4. Change color brush. => Draw a new shape: color is properly used. 5. Select first shape, change fill color again. => Draw a new shape: last color used to fill previous shape is used instead of color brush OBSERVED RESULT See description in steps to reproduce EXPECTED RESULT When drawing a shape, color should be color defined by tool, not last color used to fill a shape SOFTWARE/OS VERSIONS krita-5.0.0-prealpha-4f029a8-x86_64.appimage ADDITIONAL INFORMATION See video example and additional information on KA topic Grum999
Can confirm the bug. This sync problem is caused by using signal blockers in KoFillConfigWidget::slotProposeCurrentColorToResourceManager, which was used to stop the StrokeFill from changing the Fill type.
Hi According to discussion on KA, I add a link here to KA post to think about it when bug will be fixed https://krita-artists.org/t/bug-changing-fill-color-of-vector-adds-a-stroke-to-shape/26611/4?u=grum999 Grum999
Git commit 6ebbd5279e1859b641e6a569184058b09e58dd8d by Dmitry Kazakov, on behalf of Sharaf Zaman. Committed on 28/07/2021 at 06:09. Pushed by dkazakov into branch 'master'. Bugfix: Fix sync problem between resource and shape M +85 -74 libs/ui/widgets/KoFillConfigWidget.cpp M +2 -2 libs/ui/widgets/KoFillConfigWidget.h M +14 -4 plugins/tools/defaulttool/defaulttool/DefaultToolTabbedWidget.cpp https://invent.kde.org/graphics/krita/commit/6ebbd5279e1859b641e6a569184058b09e58dd8d
Hi Tested last appimage (krita-5.0.0-prealpha-ee23c60-x86_64.appimage) and I can confirm all problems are fixed :) Grum999