Bug 489560 - Unexpected behavior when using the flood fill tool in a shape
Summary: Unexpected behavior when using the flood fill tool in a shape
Status: RESOLVED DUPLICATE of bug 488537
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-01 17:25 UTC by contramuffin
Modified: 2024-07-31 19:50 UTC (History)
0 users

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


Attachments
Example of unexpected flood fill behavior (filling the rectangle with orange) (179.05 KB, image/png)
2024-07-01 17:25 UTC, contramuffin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description contramuffin 2024-07-01 17:25:26 UTC
Created attachment 171246 [details]
Example of unexpected flood fill behavior (filling the rectangle with orange)

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

When using the flood fill tool to fill in a shape (black border, white interior. Relatively certain this occurs with other borders/fills as well), the tool does not fill in the entire shape. Instead, it appears to draw a horizontal line where the cursor is, and fills in the portion of the shape that is above that horizontal line. Filling the shape with an alternate color and then refilling with the target color appears to resolve the issue and allow the flood fill to correctly fill the entire shape, although it should be noted that doing this many times will cause the issue to return as well (which will then go away again when you fill-and-refill). This appears to be unintended behavior.

STEPS TO REPRODUCE
1. Draw a shape with a black border and white interior
2. Attempt to use the flood fill tool to fill the interior of the shape with a 3rd color

OBSERVED RESULT

Flood fill only fills a portion of the shape

EXPECTED RESULT

Flood fill fills the entire shape

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.9.3-surface-2 (64-bit)
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2024-07-18 00:52:23 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/kolourpaint/-/merge_requests/58
Comment 2 Christoph Feck 2024-07-31 19:50:48 UTC

*** This bug has been marked as a duplicate of bug 488537 ***