Bug 399688 - layer's blending mode is not saved when alpha inheritance is on with ora files
Summary: layer's blending mode is not saved when alpha inheritance is on with ora files
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-12 04:51 UTC by zeusex81
Modified: 2021-09-20 12:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...