Summary: | Scaling this .kra image moves vector objects incorrectly | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Kubuntiac <user581> |
Component: | General | Assignee: | Adam C <bugs_kde_org2> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bugs_kde_org2, lambdae2 |
Priority: | NOR | Keywords: | release_blocker |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kubuntiac
2010-02-18 12:54:55 UTC
I downloaded the kra file but it didn't have any shapes on it :/ I tested adding some shapes myself, and scaling looked alright. So seems fixed now, can you test again with latest trunk? *** Bug 219766 has been marked as a duplicate of this bug. *** There is a problem with grouped shapes. Non-grouped shapes are scaled fine. fix on reviewboard SVN commit 1171560 by adamc: o) fix scaling of shapes o) fix ungrouping of scaled shapes o) add unit test for both BUG: 227512 M +2 -0 KoShape.cpp M +24 -0 commands/KoShapeGroupCommand.cpp M +72 -0 tests/TestShapeContainer.cpp M +1 -0 tests/TestShapeContainer.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1171560 we need to find a new way for fixing, as the change to koshape is wrong. SVN commit 1175147 by adamc: o a shape group has no size, so return QSizeF(0,0) - adjusted TestShapeGroupCommand. also some positions changed due to the due to the way, they are computed. absolutePositions of shapes are the same. - added a test for scaling a group. with group size 0,0 it doesn't fail o fixed a bug when ungrouping a shape - we have to do the same calculation as in KoShape::absoluteTransformation - added a test for this o added comment in KisShapeLayer::transform, that krtia doesn't support inheriting transformations. currently no krita enabled shape uses this. BUG: 227512 M +5 -0 krita/ui/flake/kis_shape_layer.cc M +5 -0 libs/flake/KoShapeGroup.cpp M +2 -0 libs/flake/KoShapeGroup.h M +19 -1 libs/flake/commands/KoShapeGroupCommand.cpp M +64 -0 libs/flake/tests/TestShapeContainer.cpp M +1 -0 libs/flake/tests/TestShapeContainer.h M +9 -16 libs/flake/tests/TestShapeGroupCommand.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1175147 |