Grid extension incorrectly handles transforms of parent group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Medium
|
Unassigned |
Bug Description
Follow-up report to comment #14 in bug #401567:
<https:/
'Extensions > Render > Grid…' does not properly handle transforms on parent groups (or layers).
Steps to reproduce:
1) open new default (A4 portrait) document
2) change page orientation to landscape
3) draw a rectangle
4) select the rectangle and apply 'Extensions > Render > Grid'
Expected result:
The grid is placed inside the bounding box of the selected rectangle.
Actual result:
In this example, the grid is offset vertically by the amount of the vertical 'translate()' transformation added to the top-level layer (relative to the SVG origin/coordinate system).
Also affects grids inserted/created inside transformed (e.g. scaled and/or rotated) groups.
Reproduced with Inkscape 0.48.2 and 0.48+devel r10744 on Mac OS X 10.5.8 (i386).
Changed in inkscape: | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
confirmed on Windows XP, Inkscape build 10728.
although in my case the problem occurs only when the transform is on the top level layer, as would be caused by a page size change. If I have a translate operation on a subgroup as in the attached figure, then the grid appears to be correct.