Global selection and defaultBounds
Boudewijn Rempt
boud at valdyas.org
Fri Mar 26 10:13:41 CET 2010
On Thursday 25 March 2010, Sven Langkamp wrote:
> Hi,
>
> looking at https://bugs.kde.org/show_bug.cgi?id=228983 I found out that we
> currently have a problem with defaultBounds there.
> I have added a new unit test see
> KisPixelSelectionTest::testInvertWithImage.
>
> The problem is that after inverting the pixel selection selectedExactRect
> is "infinite". I would expect the it to have the size of the image.
> The selection has the rootlayer projection as parent and the projection has
> the default defaultBounds which is doesn't use the image bounds.
>
> Should we set the defaultBounds on the projection too?
It is worth a try, I think.
--
Boudewijn Rempt | http://www.valdyas.org
More information about the kimageshop
mailing list