Bug 187326 - select a contiguous area tool creates an empty selection if fuzziness set to zero
Summary: select a contiguous area tool creates an empty selection if fuzziness set to ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 19:52 UTC by Elián Hanisch
Modified: 2009-09-26 04:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elián Hanisch 2009-03-16 19:52:52 UTC
Version:           2.0 beta-7 (using 4.2.00 (KDE 4.2.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-11-generic

1. start a new image
2. pick the select a contiguous area of colors tool (the one with the bucket icon)
3. set fuzziness to zero
4. click anywhere in the canvas

no pixel is selected yet there's a selection in place because if you pick the brush tool you can't paint anywhere.
hitting ctrl+shift+a clears the selection and you can paint again.

empty selections like this have no reason to exists, in this case I expect the whole canvas to be selected.
Comment 1 Halla Rempt 2009-03-23 12:29:27 UTC
Confirmed. Not sure what we should do here, though: needs a bit of thinking.
Comment 2 Sven Langkamp 2009-09-26 04:51:28 UTC
SVN commit 1028164 by langkamp:

only skip pixels with a difference > threshold, fixes the case where
threshold is zero
BUG:187326


 M  +3 -3      kis_fill_painter.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1028164