Version: (using KDE 4.4.0) OS: Linux Installed from: Ubuntu Packages STEPS TO REPRODUCE: 1. Download and open http://krita.org/images/bugs/amarok-splash.kra 2. Image -> Scale to New Size 3. Set width to 598 and click ok. 4. Vector shapes seem to be the correct scale, but misplaced. See before (above) and after (below) image at: http://img188.imageshack.us/img188/4864/beforeandafterq.png
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