Bug 459867 - Fill Tool doesnt fill whole selected area when "use selection as limit" option is set
Summary: Fill Tool doesnt fill whole selected area when "use selection as limit" optio...
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: 5.1.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-30 18:07 UTC by torvinski
Modified: 2022-09-30 22:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description torvinski 2022-09-30 18:07:15 UTC
SUMMARY
When using the Fill Tool while having the "use selection as limit" option set, any attempt to fill a selected area with a color or pattern will result in the tool only filling the contiguos pixels that match the color of the selected pixel, doesnt fill the whole selection as it used to do

STEPS TO REPRODUCE
1. Create a new color layer
2. Paint it with different colors, any shape is okay
3. Using the Square Selection Tool, select an area of the layer that contains multiple colors and shapes
4. Select Fill Tool
5. Move to Tool Options Panel (it is usually on the top right of the screen)
6. In the option selector in the top that says something like "What to fill?", select "Contiguos..." option
7. In the new options sections that will apear below, move to the "Region Extension" section and then check the "Use selection as limit" checkbox
8. Change the color of the current brush to some color that is different from the ones used to paint the layer
9. Using the Fill Tool try to fill the whole selected area, regardless of the color, with the last color selected

OBSERVED RESULT
Whole area won't get filled with the last selected color. Only the contiguos pixels of the selected pixel (pixels that match the color of the selected pixel) will get filled

EXPECTED RESULT
Whole selected area gets filled with the last selected color, regardless of the color of the selected pixel or the color of the contiguos pixels as long as they are in the same selection


SOFTWARE/OS VERSIONS
I have only tried this on windows 10 machines

ADDITIONAL INFORMATION
In version 5.0.2 this used to work as expected
Comment 1 torvinski 2022-09-30 18:27:06 UTC
After doing some more experiments I realized that in version 5.0.2 the option to fill the whole area is not the use "selection as limit" option, it's a different option that in version 5.1.1 doesnt exist any longer (at least in the same section). I guess that was moved to a different Tool, Panel, etc. Any input about that? (I'll maintain this ticket open just for the chance of getting some info about this change)
Comment 2 Deif Lou 2022-09-30 22:10:13 UTC
In the "what to fill section" you have to choose " the "current selection" button.

"Use selection as boundary" means that the contiguous fill stops at the selection limits. It also worked like that before.