Incorrect routing of multi-layer connectors on load

Bug #702234 reported by Daniel Schmidt
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Medium
Unassigned

Bug Description

Using Inkscape 0.48.0 r9654, bug may be reproduced by opening a new document, creating a new layer ("Layer 2", above existing Layer 1), inserting two shapes in Layer 1 and one in Layer 2, and then using connectors to connect one shape in Layer 1 to the shape in Layer 2, then from the shape in Layer 2 to the other shape in Layer 1 - connections must be made to the exact center of each shape, i.e. such that the node in the center of the shape (I used circles for my test) changes from white to cyan. Everything looks fine, file may be saved as Inkscape SVG, but when reopened, both connectors have "lost" the shape in Layer 2 and are instead connected to the upper left-hand corner of the document.

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

Reproduced with Inkscape 0.48.0 and 0.48+devel r10003 on OS X 10.5.8

Possibly related to
Bug #556467 “connectors between groups misplaced (regression)”
<https://bugs.launchpad.net/inkscape/+bug/556467>

First tests show unpredictable behavior, apparently influenced by the stack-order of the layers.

tags: added: layers
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

Connectors are incorrectly routed on load (and in the preview of the file dialogs) if one of the connected objects is on a different layer above (stack order).

Routing gets correctly recalculated e.g. if one of the connected objects is moved, or if an action (liking hiding its layer) is undone. Error persists on export to bitmap.

summary: - multi-layer connector endpoints lost on save
+ incorrect routing of multi-layer connectors on load
Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
su_v (suv-lp) wrote :

Example with connected objects on two layers (2 variants with different stack order, as well as the bitmap exported PNGs)

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

Not reproduced with Inkscape 0.46 and 0.47 on OS X 10.5.8

tags: added: regression
summary: - incorrect routing of multi-layer connectors on load
+ Incorrect routing of multi-layer connectors on load
Revision history for this message
Chris Morgan (chmorgan) wrote :

Reproduces here with 0.48.1 r9760. Would be nice to see this fixed since it is screwing up my files....

Revision history for this message
zebul666 (zebul666) wrote :

reproduced in 0.48.3.1
I was able to get the connectors to their correct place by pressing CTRL-Z when opening the file

Or by moving the connectors layer over the boxes layer

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

@Vit - your example attached here matches bug #795627 (which is about stack order: if connected objects are stacked above the connectors).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.