Adding a connector undoes all editing of paths

Post questions on how to use or achieve an effect in Inkscape.
persev
Posts: 3
Joined: Fri Feb 25, 2011 12:27 pm

Adding a connector undoes all editing of paths

Postby persev » Fri Feb 25, 2011 12:36 pm

Hello everyone. I've been using Inkscape for a while under Linux and have run across a problem. Google searches turned up nothing as did searching here, looking through the manual was no help either. After creating and editing the paths of several connectors ie lines if I try to add a new line or connector with the connector tool all previous editing is undone. Perhaps I am doing something wrong, can anyone help? Thanks in advance.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Adding a connector undoes all editing of paths

Postby brynn » Fri Feb 25, 2011 1:10 pm

Hi persev,
Welcome to InkscapeForum! Image

Hhhmmhh, I get the same result! I'm on Windows 7, 64-bit and Inkscape 0.48. It must be a bug, I'll check Launchpad, and brb with info....

Edit
Well, here are all the Connector tool bugs and wishes: https://bugs.launchpad.net/inkscape/+bu ... o_package=

Judging by the titles, this bug has not been reported (if it is a bug). Although I did not read all the bugs, so this could be reported within another bug. Or it could be in language that I don't understand (technical).

~suv, our local "bug expert" should be along to tell us what's happening, before too long :D

persev
Posts: 3
Joined: Fri Feb 25, 2011 12:27 pm

Re: Adding a connector undoes all editing of paths

Postby persev » Fri Feb 25, 2011 2:11 pm

I running a 64bit linux distro. I was getting some errors but will play with it some more this weekend and check the bug reports.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Adding a connector undoes all editing of paths

Postby ~suv » Fri Feb 25, 2011 6:21 pm

persev wrote:After creating and editing the paths of several connectors ie lines if I try to add a new line or connector with the connector tool all previous editing is undone.
Manual edits of connector lines is not supported: all manual edits (inserting nodes, dragging a path segment) are undone the next time automatic rerouting is triggered. You can edit the style of connectors but not their shape (i.e. the automatic routing is an inherent feature of connectors, not a bug. As commented by one of the developers in the bug tracker, what is missing is a command to convert a connector line into a static path to retain a custom shape).

Related feature request:

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Adding a connector undoes all editing of paths

Postby brynn » Sat Feb 26, 2011 2:08 pm

Ah-Ha!
Image ~suv is also an expert on what's NOT a bug, lol :D
Thanks ~suv!

persev
Posts: 3
Joined: Fri Feb 25, 2011 12:27 pm

Re: Adding a connector undoes all editing of paths

Postby persev » Sun Feb 27, 2011 2:52 am

~suv wrote:
persev wrote:After creating and editing the paths of several connectors ie lines if I try to add a new line or connector with the connector tool all previous editing is undone.
Manual edits of connector lines is not supported: all manual edits (inserting nodes, dragging a path segment) are undone the next time automatic rerouting is triggered. You can edit the style of connectors but not their shape (i.e. the automatic routing is an inherent feature of connectors, not a bug. As commented by one of the developers in the bug tracker, what is missing is a command to convert a connector line into a static path to retain a custom shape).

Related feature request:


That really doesn't make sense. All editing is manual, so what you are saying in effect is that editing is not allowed. I have no problem editing paths, adding nodes, etc the problem is that once I use the "Edit Paths by Nodes" tool I can no longer add a path with all the editing being undone. Here is a link to a short clip of the problem.
http://www.youtube.com/watch?v=77rudoDhDDE

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Adding a connector undoes all editing of paths

Postby ~suv » Sun Feb 27, 2011 3:18 am

persev wrote:
~suv wrote:
persev wrote:After creating and editing the paths of several connectors ie lines if I try to add a new line or connector with the connector tool all previous editing is undone.
Manual edits of connector lines is not supported: all manual edits (inserting nodes, dragging a path segment) are undone the next time automatic rerouting is triggered. You can edit the style of connectors but not their shape (i.e. the automatic routing is an inherent feature of connectors, not a bug … ).
That really doesn't make sense. All editing is manual, so what you are saying in effect is that editing is not allowed.

You are aware of the difference between connector lines [1] and regular paths drawn with the pencil [2] or pen [3] tool?


[edit]
    [1] Connector lines draw with :tool_connector: : automatic layout/routing, no manual edits of the shape
    [2] Lines/curves drawn with :tool_pencil: : manual edits with :tool_node: ok
    [3] Lines/curves drawn with :tool_pen: : manual edits with :tool_node: ok
[/edit]

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Adding a connector undoes all editing of paths

Postby ~suv » Sun Feb 27, 2011 4:01 am

I just compared the behavior of manually edited connector lines between Inkscape 0.47 and the current stable 0.48, which includes an updated connector tool (based on this blueprint and developed as GSoC project in 2009):

Apparently the new connector tool in Inkscape 0.48 enforces a recalculation of the connector routing every time a new connector is added, whereas in Inkscape 0.47 - with the old connector tool (which had fewer features: no orthogonal layout, no curvature) - the rerouting was only triggered if one of the connected objects (or an object which is "avoided" by connectors) was moved.

This doesn't change the fact that connector lines do not support manual edits because the automatic routing is their core feature. However, the automatic (re-)routing is much more often triggered with the updated connector tool in Inkscape 0.48. But this change in 0.48 could explain your surprise that what appeared to work in older Inkscape versions (unconnected, manually edited connector lines did not revert unless edited with the connector tool) suddenly fails in the current stable version.

If you want to create line-based drawings or art work and manually edit the curves or nodes with the node tool, use the pen tool, not the connector tool (keep that one for its special uses e.g. to create organization charts or flow diagrams).


Return to “Help with using Inkscape”