Bug 351482 - Locked alpha can be modified with an eraser
Summary: Locked alpha can be modified with an eraser
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (other bugs)
Version First Reported In: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-19 13:11 UTC by Floatharr
Modified: 2016-03-22 15:29 UTC (History)
1 user (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 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.