Global selection and defaultBounds

Sven Langkamp sven.langkamp at gmail.com
Thu Mar 25 22:39:31 CET 2010


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?


Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20100325/9937d035/attachment.htm 


More information about the kimageshop mailing list