Bug 351482

Summary: Locked alpha can be modified with an eraser
Product: [Applications] krita Reporter: Floatharr <kde.10.floatharr>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Floatharr 2015-08-19 13:11:19 UTC
Eraser doesn't respect the locked alpha toggle. 

For example when using white pixels in an alpha locked multiply layer as a mask this regularly causes me to have to go back and repair it since I only notice it much later since the change is invisible until I try to paint on the layer again.

Reproducible: Always

Steps to Reproduce:
1. Make a document with only 1 transparent layer
2. Paint on the layer with a brush
3. Lock alpha of the layer
4. Hit E and erase

Actual Results:  
Alpha is modified despite the alpha lock. Painting on the layer becomes impossible until alpha is unlocked and re-created.

Expected Results:  
Alpha remains the same. Maybe paint with background color instead (like photoshop), do nothing. Subsequent paint strokes are visible and constrained in the expected area.
Comment 1 Halla Rempt 2016-03-22 15:29:47 UTC
Alpha lock meant to make sure you don't draw outside the lines, not to prevent you from erasing what's there, so this works as expected, I think.