Steps: 1. Create document with partially-transparent base layer (#1). 2. Create group layer with at least one partially-transparent layer that overlaps #1 in it (#2). 3. Create another group layer, add #1 and #2 to it (with #2 on top), activate "Inherit alpha" in #2 (content of #2 gets cropped by content of #1 = correct). 4. Perform "Merge group" on #2 -> merged layer is empty (incorrect :P ).
Hi Kalia! Could you please check whether this is a regression from 3.3.3? Thanks!
Created attachment 110446 [details] file to reproduce with. I can confirm, attachinga small file to reproduce with. Layer 2 needs to have "merge group" applied.
Hi Boudewijn! The issue is present in 3.3.3 as well - when you flatten group layer with inherited alpha, it leaves empty layer.
Thanks for checking!
Git commit 39cc9f9e115da66563712bf8ba5b941e9be0a85a by Dmitry Kazakov. Committed on 03/04/2018 at 15:00. Pushed by dkazakov into branch 'master'. Fix flattening of group layers with Inherit Alpha property set If all the selected layers have the same composite op and channel flags we should just merge them together using Normal composition and write into a destination layer with their original composition and channel flags. M +56 -2 libs/image/kis_layer_utils.cpp https://commits.kde.org/krita/39cc9f9e115da66563712bf8ba5b941e9be0a85a
Git commit 0e101cd875a5d86bc77406656c218fd94bc9a494 by Dmitry Kazakov. Committed on 07/04/2018 at 13:28. Pushed by dkazakov into branch 'krita/4.0'. Fix flattening of group layers with Inherit Alpha property set If all the selected layers have the same composite op and channel flags we should just merge them together using Normal composition and write into a destination layer with their original composition and channel flags. M +56 -2 libs/image/kis_layer_utils.cpp https://commits.kde.org/krita/0e101cd875a5d86bc77406656c218fd94bc9a494