Hi!<br><br>One of the bugs I'm working on currently is Wash Mode bug, described by Paul in the first part of the bug [0]. <br><br>Technical part:<br><br>Actually, this is not a bug, but a flaw of the composition formula we use in ALPHA_DARKEN composite op. So to fix this bug, we need to change the formula (with all the obvious consequences). The problem is this formula is not commutative, that is the order of application of dabs changes the result dramatically.<br>
<br>The patch:<br><br>In the attachment you can find a patch which (should) fix this bug. It would be nice if someone tested it and looked for some non-obvious regressions in painting it introduces.<br><br>This patch implements:<br>
1) Fixes the artifacts on the tail of the Wash Mode stroke<br><br>This patch breaks (known issues):<br>1) Flow option doesn't work (it is simply disabled)<br>2) It fixes the bug for a Pixel Brush only<br>3) It disables vector optimizations<br>
<br clear="all"><br>[0] - <a href="https://bugs.kde.org/show_bug.cgi?id=320651">https://bugs.kde.org/show_bug.cgi?id=320651</a><br><br>-- <br>Dmitry Kazakov