Scale transform wrong on groups containing objects having different stroke widths
Steps to reproduce:
- Open example file.
- Select the top group of green/blue objects.
- Shift+Ctrl+M.
- Scale, set width: 100.000% and height: 50.000%.
- Apply.
What happened?
- See 2nd row in screenshot. Has
matrix(1.0258026,0,0,0.5,-10.321043,433.25979)
which should only have happened if setting width: 102.580%. - Also, if resizing using the resizing arrows instead of the transform/scale menu, see 3rd row in screenshot. However the 3rd row only looks wrong at one particular zoom level, and looks right when exporting, so is probably a different (rendering) bug.
- Note that the blue rectangle is a line with a thick stroke and the green rectangles are filled rectangles with no stroke. The issue doesn't seem to happen if no objects in the group have a stroke.
What should have happened?
-
See 4th row in screenshot. Has
matrix(1,0,0,0.49999954,0,537.2603)
(should actually be0.5
instead of0.49999954
, see bug 210145).
Inkscape Version and Operating System:
- Inkscape Versions: 0.92.3-r1 and Inkscape 0.92.4 5da689c313, 2019-01-14
- Operating System: Gentoo Linux
- Operating System version: Doesn't really have versions.
Example file:
Edited by Diederik van Lierop