Bug 496869 - Broken "Normal" blend mode in layer styles of 16-bit integer image
Summary: Broken "Normal" blend mode in layer styles of 16-bit integer image
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: layer styles (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-30 16:06 UTC by varkatope
Modified: 2024-12-11 04:01 UTC (History)
1 user (show)

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


Attachments
image illustrating the problem (98.18 KB, image/jpeg)
2024-11-30 16:06 UTC, varkatope
Details

Note You need to log in before you can comment on or make changes to this bug.
Description varkatope 2024-11-30 16:06:00 UTC
Created attachment 176245 [details]
image illustrating the problem

Git hash: 74d5360

(worked OK in at least 292fd73, possibly newer nightlies as well but haven't tried those)

STEPS TO REPRODUCE
1. Create a new project in 16-bit integer color depth.
2. Make a dark background then create a white shape on a new layer (raster or vector)
3. Apply a gradient overlay layer style to the shape with a "Normal" blend mode and a white to black foreground to background gradient.

OBSERVED RESULT
It should look pretty obviously messed up. Other blend modes like multiply seem to work OK.

See attached test image. The two left shapes use Normal blend mode and the rightmost shape is just a vector gradient and unaffected.

SOFTWARE/OS VERSIONS
Krita

 Version: 5.3.0-prealpha (git 74d5360)
 Hidpi: false

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 6.12.1-4-MANJARO
  Pretty Productname: Manjaro Linux
  Product Type: manjaro
  Product Version: rolling
  Desktop: XFCE
  Appimage build: Yes
Comment 1 varkatope 2024-12-11 04:01:50 UTC
This seems to have been fixed since the nightly made from git hash 79c8401 . Cheers!