Bug 347120

Summary: [Layer Styles] Issue with inherit alpha
Product: [Applications] krita Reporter: brusheco <ngmstudio>
Component: layer stylesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: LayerStyles Error

Description brusheco 2015-05-03 19:04:13 UTC
Created attachment 92396 [details]
LayerStyles Error

The inherit alpha option doesn't seem to recognize layer styles.

1. Make a group layer
2. Add layer inside group and make some paint blob or something
3. Add a new layer, make a stroke, then add layer style like outer glow.
4. Hit inherit alpha

Please see attached screenshot

I'm using windows 7 64-bit, but I had popup box telling me it was a 32bit version.
(git ac5d0ed)
Comment 1 Halla Rempt 2015-05-03 19:49:51 UTC
Yes, confirmed. Thanks for the report!
Comment 2 Dmitry Kazakov 2015-05-16 07:17:06 UTC
Git commit f6b201a2035e3f15c3c7fa981e23d95bd7c61dc8 by Dmitry Kazakov.
Committed on 16/05/2015 at 07:12.
Pushed by dkazakov into branch 'calligra/2.9'.

Fix Layer Styles and Inherit Alpha coupling

Layer Styles decorations should inherit channel flags and master opacity
from the parent layer. For controlling the opacity of the real layer plane
there should be special Fill parameter that is going to be implemented later.
Fixes T213

M  +5    -9    krita/image/kis_projection_leaf.cpp
M  +27   -2    krita/image/krita_utils.cpp
M  +5    -0    krita/image/krita_utils.h
M  +13   -0    krita/image/layerstyles/kis_layer_style_filter_environment.cpp
M  +6    -1    krita/image/layerstyles/kis_layer_style_filter_environment.h
M  +2    -2    krita/image/layerstyles/kis_ls_bevel_emboss_filter.cpp
M  +5    -4    krita/image/layerstyles/kis_ls_drop_shadow_filter.cpp
M  +1    -2    krita/image/layerstyles/kis_ls_overlay_filter.cpp
M  +5    -4    krita/image/layerstyles/kis_ls_satin_filter.cpp
M  +1    -1    krita/image/layerstyles/kis_ls_stroke_filter.cpp
M  +5    -5    krita/image/layerstyles/kis_ls_utils.cpp
M  +2    -1    krita/image/layerstyles/kis_ls_utils.h

http://commits.kde.org/calligra/f6b201a2035e3f15c3c7fa981e23d95bd7c61dc8