Bug 305666

Summary: Transparency Mask doesn't work in Krita 2.5.0
Product: [Applications] krita Reporter: Tyson Tan <tysontanx>
Component: Filter LayersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: halla
Priority: NOR    
Version: 2.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tyson Tan 2012-08-23 14:17:18 UTC
In Krita 2.5.0, Transparency Mask doesn't work. You may still create a new Transparency Layer, however, it's not functional at all, and you can't draw anything on it.

Reproducible: Always

Steps to Reproduce:
1. Fill the current layer with a pure color.
2. In the Layers panel, right-click current layer and create a Transparency Mask layer.
3. The new Transparency Layer appears to be 100% black by default, but the layer it masks is still 100% visible, as if the transparency layer is 100% white.
4. You can't draw anything or fill any color on the Transparency Layer.
Actual Results:  
Transparency Mask does not work.

Expected Results:  
Transparency Mask layer works.

Meanwhile, some of the Filter Masks seem to be functional (invert), but selecting a layer becomes very slow after you create one.

Self-built Calligra Suite, configuration:
Ubuntu 12.04 LTS
QT 4.8.2 (from 12.10 quantal)
KDE 4.9.00
All Calligra Suite components were built.
Comment 1 Halla Rempt 2012-08-23 14:34:04 UTC
Hi,

Currently transparency masks in Krita are alpha channels. That means that you can only remove parts of the mask with the eraser, and that painting in grayscale on the masks don't work. This is a known issue, but the solution is quite difficult and we haven't managed to fix it yet. The bug we're using to track this issue is 217292.

*** This bug has been marked as a duplicate of bug 217292 ***
Comment 2 Tyson Tan 2012-08-23 15:18:09 UTC
Thank you for the comment. Now I understand how it works. But there comes another problem: when you are painting in the erased area of the Transparency Mask layer, the opacity setting of the brush does not affect transparency at all, it simply fills eveything back, unless you are using some very soft brushes (like basic_eraser_soft) .

Additionally, a new created Transparency Mask layer is always displayed as 100% black, but as you can't paint white to erase things, this can be very confusing. Considering the lack of document of Krita at the moment, new users may find it difficult to figure out how crucial functions actually work.

If the current solution of Transparency Mask is going to be a long term plan, I guess I will have to write instructions on it in Krita's userbase so that new users won't lose their way. ^^
Comment 3 Halla Rempt 2012-08-23 15:25:12 UTC
yes, please do write some warnings for the manual. I really want to fix this issue, but it'll probably have to wait until my christmas holidays so I've got a block of continuous spare time to work on it :-)