Bug 486101

Summary: fill tool used on a fill layer changes the transparency of the layer instead of the color
Product: [Applications] krita Reporter: Dynline <saranvale>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: ginoba
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dynline 2024-04-25 08:45:24 UTC
SUMMARY
When trying to fill an already created fill layer using the fill tool, the new color will change the transparency of the already existing color on the layer as if a transparency mask was applied to it instead of changing the color.

STEPS TO REPRODUCE
1. open a new krita file
2. make a new fill layer with pure black
3 select from the color selector a random color that isn't pure white or pure black (for example light blue)
4. click on the fill layer with the fill tool, it is now grey
5. hide the background layer to see the checkers

OBSERVED RESULT
it is now a gradation of gray and the color is half transparent, despite the opacity of the layer being 100%

EXPECTED RESULT
change the color without changing the transparency, or maybe only being able to change the color by pressing f3 to open the fill window. Though it would be nice if it worked with the fill tool


SOFTWARE/OS VERSIONS
Windows 10
5.3.0-prealpha (git c1a25a3)

ADDITIONAL INFORMATION
if you keep filling with random colors you will see the the transparency changing like it would work for a transparency mask.
Comment 1 Deif Lou 2024-05-02 09:59:49 UTC
This happens because when you use a paint tool on the fill layer (or filter layer/mask as well, for example) you are actually modifying the mask that controls where the layer has effect, not the color/pattern/etc. To change the color you have to use the fill layer properties dialog.
Comment 2 Dynline 2024-05-02 17:45:45 UTC
(In reply to Deif Lou from comment #1)
> This happens because when you use a paint tool on the fill layer (or filter
> layer/mask as well, for example) you are actually modifying the mask that
> controls where the layer has effect, not the color/pattern/etc. To change
> the color you have to use the fill layer properties dialog.

Ah that's great then! Do you think it would be possible to expose this mask to the user in the UI so it's easier to see and modify/control?
Comment 3 Deif Lou 2024-05-02 17:51:29 UTC
It is possible but it would require some ui/ux design i guess, and time to implement. You can create a feature request in the krita-artists forum about this, stating why it would be useful. Also the other users can give feedback as well.