Comment 4 for bug 552289

Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.47 r22583 and 0.47+devel r9273 on OS X 10.5.8

The lines displaced on 'Ungroup' are unconnected connector lines (inkscape:connector-type="polyline") that have transformations of nested parent groups incorrectly applied (resizing the page adds a transformation to all top layers).

possibly related reports:
Bug #479553 “Moving shape with connectors, connectors go wild”
Bug #479638 “file gets mangled due to Object->UnGroup”

Since this will have to be fixed in trunk, it is important to note that current revisions of Inkscape 0.47+devel expose a further regression:

SVG preview in the file chooser and initial display of the SVG file on-canvas renders the unconnected connector lines inside nested transformed groups incorrectly (without even ungrouping them):
- the unconnected connector lines are drawn as if they had not been transformed according to page resize
- closing the 'Export Bitmap…' dialog (after exporting the page content) changes the drawing: the unconnected connector lines move even further away from the page content
- 'undo' after a random edit restores the rendering as intended (i.e. the drawing looks the same as initially when opened in 0.47)

correct preview/initial view:
 0.47 r22583
 0.47+devel r8843
 0.47+devel r8853

incorrect preview/intial view:
 0.47+devel r8865
 0.47+devel r9273

i.e. some changes committed between r8853 and r8865 have introduced new errors when calculating the location of connector lines inside nested transformed groups.