Summary: | Invalid composite op/color space combinations are reachable | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Nicholas LaPointe <nicholaslapointe8> |
Component: | Usability | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, halla, o-din13 |
Priority: | NOR | ||
Version: | 3.1.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/a5520d17e4962555246f9a01cc3494aa4aa24a7a | Version Fixed In: | |
Sentry Crash Report: |
Description
Nicholas LaPointe
2016-12-31 09:47:48 UTC
I just noticed that, from step 3 in the first method, all blending modes will be enabled if an empty spot in the layers docker is clicked. At least if the blending mode is inconsistent, a warning flag is shown :-) *** Bug 376723 has been marked as a duplicate of this bug. *** Okay, the first method is "expected behavior", because all blending happens in the color space of the parent layer, that is a parent group layer. And all group layers in Krita work in the color space of the image. It means that if the image is RGB, but the layer is CMYK, all RGB modes will still be available. The second method is not reproducible anymore. I think I've fixed that yesterday. There is also the third way to reproduce that (which is a real bug): calling Image->Convert Image Color Space doesn't update composite op availability. I will fix that. Git commit 53a17bfb34c058392f9c9eeb524b97c0de4e1296 by Dmitry Kazakov. Committed on 20/08/2020 at 20:59. Pushed by dkazakov into branch 'krita/4.3'. Fix layers docker not updating blendmode availability on image cs change Blending modes available to the layer depend on the color space of the parent layer (that is the color space where actual blending happens). Therefore we should connect updateUI to the color space change of the parent layer. WARNING: in Krita **all** group layers have the color space of the image, you cannot convert them into any specific color space. That is a wish-bug that can be fixed. M +2 -6 libs/image/kis_group_layer.cc M +4 -1 libs/image/kis_selection_based_layer.cpp M +15 -4 plugins/dockers/layerdocker/LayerBox.cpp M +2 -0 plugins/dockers/layerdocker/LayerBox.h https://invent.kde.org/graphics/krita/commit/53a17bfb34c058392f9c9eeb524b97c0de4e1296 Git commit a5520d17e4962555246f9a01cc3494aa4aa24a7a by Dmitry Kazakov. Committed on 20/08/2020 at 21:02. Pushed by dkazakov into branch 'master'. Fix layers docker not updating blendmode availability on image cs change Blending modes available to the layer depend on the color space of the parent layer (that is the color space where actual blending happens). Therefore we should connect updateUI to the color space change of the parent layer. WARNING: in Krita **all** group layers have the color space of the image, you cannot convert them into any specific color space. That is a wish-bug that can be fixed. # Conflicts: # plugins/dockers/layerdocker/LayerBox.h M +2 -6 libs/image/kis_group_layer.cc M +4 -1 libs/image/kis_selection_based_layer.cpp M +15 -4 plugins/dockers/layerdocker/LayerBox.cpp M +2 -0 plugins/dockers/layerdocker/LayerBox.h https://invent.kde.org/graphics/krita/commit/a5520d17e4962555246f9a01cc3494aa4aa24a7a |