Summary: | Layer Style Stroke - Layer Duplication Loses Color | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | KST <kstgear> |
Component: | layer styles | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahab.greybeard, dimula73, halla |
Priority: | NOR | Keywords: | regression |
Version: | 4.3.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
KST
2020-06-18 12:04:48 UTC
I can confirm this for the 4.3.0 and 18 Jun 5.0.0 prealpha (git a98fccf) appimages. If the layer style of the duplicated layer is turned off then the original colours are restored but they vanish again if the layer style is turned back on. If the duplicated layer has its layer style window opened (with no further action needed), then the colours are restored and remain restored after Cancel is pressed on the layer style window. This does not happen with the 4.2.9 appimage. A user has reported a similar situation for the Colour Overlay layer style here: https://krita-artists.org/t/bug-the-layer-copied-in-krita-4-3-0-will-become-abnormal/8699 In that case, after opening and Cancelling the layer style window, turning off the background layer is sometimes needed to restore the correct appearance. Using the Bevel and Emboss layer style, there is a problem with the appearance if the layer is duplicated, which shows similar requirements for 'recovery'. I haven't investigated any other layer styles. Git commit 263b547da09f625568cd1ddab89e770542bbb675 by Dmitry Kazakov. Committed on 26/06/2020 at 15:35. Pushed by dkazakov into branch 'krita/4.3'. Fix cloning of a stroke layers style with "center" position It was obviously a copy-paste mistake :) M +9 -1 libs/image/layerstyles/kis_layer_style_projection_plane.cpp https://invent.kde.org/graphics/krita/commit/263b547da09f625568cd1ddab89e770542bbb675 Git commit 426b4313bff86ba0c2c8d3d05f5f920c4e27c851 by Dmitry Kazakov. Committed on 26/06/2020 at 15:35. Pushed by dkazakov into branch 'krita/4.3'. Fix cloning of stroke layer style KisLayerStyleKnockoutBlower should clone the internal selection as well. M +10 -0 libs/image/layerstyles/KisLayerStyleKnockoutBlower.cpp M +3 -0 libs/image/layerstyles/KisLayerStyleKnockoutBlower.h M +1 -0 libs/image/layerstyles/kis_layer_style_filter_projection_plane.cpp https://invent.kde.org/graphics/krita/commit/426b4313bff86ba0c2c8d3d05f5f920c4e27c851 Git commit ccbadb281f5b475e39ae18571c8d0a654246a486 by Dmitry Kazakov. Committed on 26/06/2020 at 15:35. Pushed by dkazakov into branch 'krita/4.3'. Add a unittest for cloning layer styles M +46 -10 libs/image/tests/kis_layer_style_projection_plane_test.cpp https://invent.kde.org/graphics/krita/commit/ccbadb281f5b475e39ae18571c8d0a654246a486 Git commit 0641afda61b663a38788bca57aa91aecd171730d by Dmitry Kazakov. Committed on 26/06/2020 at 15:35. Pushed by dkazakov into branch 'krita/4.3'. Fix a thread-safety problem in Stroke layer style It should not write into a knockout-selection outside its applyRect, becasue there are no thread-safety guarantees outside it. M +14 -14 libs/image/layerstyles/kis_ls_stroke_filter.cpp https://invent.kde.org/graphics/krita/commit/0641afda61b663a38788bca57aa91aecd171730d Git commit c77027bbae9e8c4d26a8eb364d5df7ff99d65cd9 by Dmitry Kazakov. Committed on 26/06/2020 at 15:36. Pushed by dkazakov into branch 'master'. Fix cloning of a stroke layers style with "center" position It was obviously a copy-paste mistake :) M +9 -1 libs/image/layerstyles/kis_layer_style_projection_plane.cpp https://invent.kde.org/graphics/krita/commit/c77027bbae9e8c4d26a8eb364d5df7ff99d65cd9 Git commit ea9daff5a71a1fb817c87778d88129c2a462ea07 by Dmitry Kazakov. Committed on 26/06/2020 at 15:36. Pushed by dkazakov into branch 'master'. Fix cloning of stroke layer style KisLayerStyleKnockoutBlower should clone the internal selection as well. M +10 -0 libs/image/layerstyles/KisLayerStyleKnockoutBlower.cpp M +3 -0 libs/image/layerstyles/KisLayerStyleKnockoutBlower.h M +1 -0 libs/image/layerstyles/kis_layer_style_filter_projection_plane.cpp https://invent.kde.org/graphics/krita/commit/ea9daff5a71a1fb817c87778d88129c2a462ea07 Git commit a37cbcec401cab859c240037e3f377e12dbbd757 by Dmitry Kazakov. Committed on 26/06/2020 at 15:40. Pushed by dkazakov into branch 'master'. Fix a thread-safety problem in Stroke layer style It should not write into a knockout-selection outside its applyRect, becasue there are no thread-safety guarantees outside it. # Conflicts: # libs/image/layerstyles/kis_ls_stroke_filter.cpp M +15 -14 libs/image/layerstyles/kis_ls_stroke_filter.cpp https://invent.kde.org/graphics/krita/commit/a37cbcec401cab859c240037e3f377e12dbbd757 Git commit 689fe924c56712ee1986269fdbace1c7450f7549 by Dmitry Kazakov. Committed on 26/06/2020 at 15:41. Pushed by dkazakov into branch 'master'. Add a unittest for cloning layer styles M +46 -10 libs/image/tests/kis_layer_style_projection_plane_test.cpp https://invent.kde.org/graphics/krita/commit/689fe924c56712ee1986269fdbace1c7450f7549 The bug is fixed now (and two more different bugs). Git commit 8ac480cba8d7bf9feece348f6944f89880737779 by Boudewijn Rempt, on behalf of Dmitry Kazakov. Committed on 15/07/2020 at 08:53. Pushed by rempt into branch 'krita/4.3.0'. Add a unittest for cloning layer styles (cherry picked from commit 689fe924c56712ee1986269fdbace1c7450f7549) M +46 -10 libs/image/tests/kis_layer_style_projection_plane_test.cpp https://invent.kde.org/graphics/krita/commit/8ac480cba8d7bf9feece348f6944f89880737779 |