Bucket fill extremely slow with large images
Environment/Versions
- GIMP version: 2.10.34 revision 1
- Package: Download from gimp.org
- Operating System: MacOS Sonoma 14.0 Macbook M1 Pro
Description of the bug
With a large image, bucket fill on a small area can take over 20 seconds.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Create a 5000x5000 image.
- Select a small rectangle
- Click Bucket Fill with "Fill similar colors"
- The small region is filled.
…
Expected result: Bucket fill should be instantaneous since it is a small region.
Actual result: Bucket fill takes 22 seconds.
Additional information
Bucket fill with "Fill whole selection" is instantaneous. If I draw a small rectangle and use "Fill similar colors", fill is instantaneous.
This may be a regression since I don't recall experiencing this in the past, but it is possible my images were smaller.