Normal blend mode behaves erroneous with "default" vs. "legacy".
Environment/Versions
- GIMP version: 2.10.36
- Package: flatpak from gimp.org
- Operating System: Ubuntu 20.04
Using the same layer with semi-transparent pixels behind a black background shows, that the top layer is rendered twice in "default" normal blend mode vs. "legacy" normal blend mode. This is a big issue and therefore shows different results for what all other programs do (like browsers, game engines). So when I look at something in GIMP I expect it to be the same in other programs, but it doesn't. This caused a big headache for me. Description of the bug
Image: (you can see "default" vs. "legacy")
Reproduction
Is the bug reproducible?
Always, just use this file and see: blend_mode_bug.xcf
Reproduction steps:
- open the attached gimp file
- switch between legacy and default
- profit
…
Expected result: the layer isn't blended two times in "default" blend mode
Actual result: the layer is double as bright within the semi-transparent pixels
Additional information
If you have a backtrace for a crash or a warning, paste it here.