Bug 399688

Summary: layer's blending mode is not saved when alpha inheritance is on with ora files
Product: [Applications] krita Reporter: zeusex81
Component: File formatsAssignee: Dmitry Kazakov <dimula73>
Status: ASSIGNED ---    
Severity: normal CC: dimula73, griffinvalley, halla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description zeusex81 2018-10-12 04:51:45 UTC
SUMMARY
layer's blending mode is not saved when alpha inheritance is on with ora files

STEPS TO REPRODUCE
1. select a not by default blending mode on your layer
2. check the alpha inheritance option
3. save in ora format
4. reload the saved file

OBSERVED RESULT
Alpha inheritance is kept but blending mode is reset to normal.

EXPECTED RESULT
I'd like to have both saved but I don't know if that's a bug or just the ora specs that don't allow it which I could understand, however if we have to chose between the two parameters then I think it's better to keep the blending mode, alpha inheritance is just one click away we can deal with it easier.
(I know I could use kra format but I use ora for some reasons)
Comment 1 Halla Rempt 2018-10-12 07:28:27 UTC
We'll have to check the spec, but for now I'm regarding this as a bug.
Comment 2 wolthera 2018-10-12 09:48:32 UTC
This is actually expected with the spec, inherit alpha is a blending mode within ora: https://www.openraster.org/baseline/layer-stack-spec.html#composite-op-attribute

We might need to put in a warning for that in the exporter.
Comment 3 Halla Rempt 2018-10-12 13:24:44 UTC
Okay -- that should be doable...