Bug 384103

Summary: Issues with alpha locking and color blending after undoing "Convert Layer Color Space"
Product: [Applications] krita Reporter: Nicholas LaPointe <nicholaslapointe8>
Component: Color modelsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: griffinvalley, halla
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nicholas LaPointe 2017-08-28 12:22:37 UTC
1. Open or create an RGB-space image (preferably not blank)
2. "Layer" -> "Convert" -> "Convert Layer Color Space", change to grayscale
3. Undo
The layer now claims to be alpha locked, although it is possible to paint on the layer as if it wasn't.
4. Disable alpha locking on the layer
5. Paint on the layer
Color compositing will be incorrect. In this example, the red channel seems particularly affected (e.g. painting #FFFFFF on an empty area gives #00FFFF, painting #FF0000 on an empty area gives #000000, painting #0000FF on #FFFFFF gives #FF00FF)
Comment 1 Halla Rempt 2017-11-27 08:10:13 UTC
Yes, I can confirm the issue.
Comment 2 wolthera 2020-05-10 12:22:40 UTC
This seems to have been resolved? I cannot reproduce anymore in 5.0 pre-alpha...

Please reopen if still relevant, perferably with some extra instructions or examples :)