Jump to content

Flood Fill tool layer erase menu - is this expected behaviour?


Recommended Posts

If I add a fill layer I can change fill colours with the flood fill tool and they are applied as expected. If however I use the flood fill tool context menu to erase the fill, I can no longer get the full fill colours back. Each colour appears semi opaque. Is this expected behaviour? 
edit - the fill tool fill type appears to override flood fill.

IPad Pro 10.5/512GB   lpadOS 16.2 Apple Pencil (1st gen), Affinity Photo 1.10.5 Affinity Design 1.10.5 Affinity Publisher 2, Affinity Designer 2, Affinity Photo 2

Official Online iPad Help documents (multi-lingual) here: https://affinity.https://affinity.help/ 

 

Link to comment
Share on other sites

The flood fill tool should be used for pixel layers only, not for fill layers (which are vector).

Use the the fill tool instead.

The reduction of opacity is a bug. Might be related to

 

Mac mini M1 A2348

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

11 minutes ago, NotMyFault said:

The flood fill tool should be used for pixel layers only, not for fill layers (which are vector).

Fair enough but why do Affinity allow it to be active on Fill layers? There’s nothing in Help file to advise against this. I don’t doubt your reply (in fact thank you for identifying this), but shouldn’t the tools functionality be turned off for fill layers to prevent dills like me trying to use it? 😁

IPad Pro 10.5/512GB   lpadOS 16.2 Apple Pencil (1st gen), Affinity Photo 1.10.5 Affinity Design 1.10.5 Affinity Publisher 2, Affinity Designer 2, Affinity Photo 2

Official Online iPad Help documents (multi-lingual) here: https://affinity.https://affinity.help/ 

 

Link to comment
Share on other sites

1 hour ago, DM1 said:

If I add a fill layer I can change fill colours with the flood fill tool and they are applied as expected.

Where in your video did you change the fill color using the Flood Fill Tool?

 I know that you changed the color, but it looked like you just did that with the Color studio, not by clicking on the layer to apply the Flood Fill. If you were to click the layer to apply the tool, I think you'd see an immediate color change. I don't understand what's happening, but just wanted to point out that I don't think you started out doing what you thought you were doing.

-- Walt

Desktop:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 
Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
        Affinity Photo 1.10.6 (.1665) and 2.0.4  and 2.1.0.1709 beta/ Affinity Designer 1.10.6 (.1665)  and 2.0.4  and 2.1.0.1709 beta / Affinity Publisher 1.10.6 (.1665)  and 2.0.4  and 2.1.0.1709 beta
iPad Pro M1, 12.9", iPadOS 16.3.1, Apple Pencil 2, Magic Keyboard

      Affinity Photo 1.10.7 and 2.0.4 and 2.1.0.1713 beta/ Affinity Designer 1.10.7 and 2.0.4 and 2.1.0.1713 beta/ Affinity Publisher 2.0.4 and 2.1.0.1709 beta

Link to comment
Share on other sites

2 hours ago, DM1 said:

Fair enough but why do Affinity allow it to be active on Fill layers? There’s nothing in Help file to advise against this. I don’t doubt your reply (in fact thank you for identifying this), but shouldn’t the tools functionality be turned off for fill layers to prevent dills like me trying to use it? 😁

Totally agree.  In this case it might be more a bug, but using flood fill on vector shapes seems totally superfluous to me, e.g.

  • cant utilize selections on vector layers
  • color panel or fill tool provide all you need

Otherwise, could be added to the list:

 

Mac mini M1 A2348

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Really interesting phenomena.

After getting hit by "flood fill", the fill layer transform into a kind of zombie state, hybrid of pixel and fill layer: Using the move tool, a kind of (formerly inherent) mask becomes movable. If you reduce its size, the old fill starts reveling.

Using channels, you can see that the alpha channel got changed to a lower opacity, but all color / fill tools become incapacitated to change alpha.

Using spare channels you can.

 

Update:

What happening is quite simple.

  • Using flood fill you will impact the inherent mask of the fill layer - and the fill color.
  • Based on blend formula and probably the open bug mentioned earlier (afp-4633), the opacity gets reduced. Lets see which formula gets used.
  • The new opacity values is stored for every pixel in the mask.
  • Further Flood fill will again impact the implicit mask, and further reduce opacity.

PS:

  • The (unwanted) impact on alpha happens even if "edit alpha" is disabled in channels panel. This alone is a severe bug.
Edited by NotMyFault

Mac mini M1 A2348

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

1 hour ago, walt.farrell said:

If you were to click the layer to apply the tool, I think you'd see an immediate color change.

You’re right Walt. Tapping Flood fill effects the Alpha fill layer turning it grey. Making the colour somewhat opaque.

54 minutes ago, NotMyFault said:

What happening is quite simple.

  • Using flood fill you will impact the inherent mask of the fill layer - and the fill color.

In the channel studio the Fill Alpha layer turns grey after tapping the Flood fill tool. Tapping on the Fill Alpha layer menu icon, then selecting Fill option, restores the Alpha, fixing the colour.

IPad Pro 10.5/512GB   lpadOS 16.2 Apple Pencil (1st gen), Affinity Photo 1.10.5 Affinity Design 1.10.5 Affinity Publisher 2, Affinity Designer 2, Affinity Photo 2

Official Online iPad Help documents (multi-lingual) here: https://affinity.https://affinity.help/ 

 

Link to comment
Share on other sites

To summarize:

  • Flood Fill applied to Fill Layer results in erroneous impact to inherent mask / reduction of opacity.
  • According to MEB, Flood Fill applied to Fill Layer results in erroneous impact to fill color. Only alpha should be impacted.
  • For me this is a bug, probably a consequence of the underlying bug

 

Mac mini M1 A2348

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

  • Moderators

This is working as intended with one caveat which is a side effect/omission of the current implementation: the Flood Fill Tool allows you to select a color from the Colors panel when a Fill Layer is selected where eventually it should only allow you to pick a greyscale value which is then used to set the alpha for the layer as its currently doing (see my last comment/phrase below for details where i compare it with the Paint Brush tool). You don't actually need to click on canvas nor should use the Flood Fill Tool to change the color of a Fill Layer - using the Colour panel with the Fill layer selected is enough. The issue/confusion is coming from the fact that as soon as you try to pick a color to set the alpha for the selected Fill Layer, the color of the Fill layer itself changes automatically which is the undesired effect here.

Raster based tools as the Flood Fill Tool (or the Paint Brush Tool for that matter) can only be used to affect the alpha of the Fill Layers - in this regard Fill Layers behave and work exactly like regular masks or built-in live adjustments/filters masks. Typically if you select a regular mask layer, Affinity Photo displays the greyscale palette - you can still change the colour format if you wish to set the grey value in other way but since it's a mask layer you are only able to change the alpha no matter the colour format you select to do it. The issue comes from the fact that you can't actually choose the color to set for the alpha because it gets automatically applied to the Fill Layer as soon as you pick the color.
 

4 hours ago, NotMyFault said:

...

Using channels, you can see that the alpha channel got changed to a lower opacity, but all color / fill tools become incapacitated to change alpha.

Using spare channels you can.

...

This is not correct. If you want to restore the original alpha value of the Fill layer, make sure the Fill Layer is selected, select the Flood Fill Tool, pick white for the colour and click on the canvas. The white colour will fill the alpha channel and restore the opacity of the fill layer to 100% - of course this process will also change the colour of the Fill Layer itself to white which is the undesired side effect i mentioned above. To avoid this you can use the Paint Brush Tool instead - here you can set the colour to white whiteout affecting the Fill Layer's colour -, then paint the whole layer with it to set the alpha to 100%. This is the behaviour the Flood Fill Tool should also inherit.

I'm logging this to be looked at.

Link to comment
Share on other sites

Ah the other way round. Alpha is intended, hue is unwanted.

 

 

Mac mini M1 A2348

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

2 hours ago, MEB said:

Raster based tools as the Flood Fill Tool (or the Paint Brush Tool for that matter) can only be used to affect the alpha of the Fill Layers - in this regard Fill Layers behave and work exactly like regular masks or built-in live adjustments/filters masks.

Ok, understood.

Follow-up question: It seems they react different to input of channels panel (tested on both iPad windows)

  • When you disable edit on red channel (via channels panel), raster based tools do not show any effect to fill layers (alpha channel)
  • When you enable edit on red channel (via channels panel), raster based tools fully show effect to fill layers (alpha channel)
  • Adjustments and filters ignore channels panel settings completely
  1. This is a bit by surprise, normally i would expect that the channels panel alpha edit setting (and not red channel) should influence this.
  2. Masks, Adjustments and filters layer do not depend on channels panel (ignores it completely)

 

 

PS: Sorry, can't delete the empty table below

 
     
     
     

Mac mini M1 A2348

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.