Joining (merging) identical nodes shouldn't shift said nodes location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Medium
|
Unassigned |
Bug Description
Inkscape 0.48.4 r9939
Windows 7 x64
Steps to reproduce:
1. Open attached file.
2. Select the black item that's on your screen.
3. Go into the node editing mode (F2).
4. Use your mouse and draw a box right below the red arrow (the red arrow points to the problem location) to select the two nodes that are in the same location.
5. Go up to the "Join selected nodes" button in the toolbar and click it.
What happens:
The 2 nodes are "merged" together, but are shifted to the left, which changes the item.
What should happen:
The 2 nodes should be merged together, but stay in the same location. Also the the "cusps" that lead to other nodes/lines that are on either side of the original nodes should stay in the same location.
I have to admit, this is really annoying when I'm trying to clean up files that I got from friends for work projects. I don't like having to take a lot of time to manually merge the nodes in stuff like Notepad++ to make sure everything stays the same. The reason is because when I add a stroke (if necessary), it sometimes either has a gap, or sharp spike because of duplicate nodes at the same location that should have been one node to start with.
tags: | added: node-editing |
tags: | added: precision |
Not reproduced with old node tool in Inkscape 0.47 (select both nodes, first break path at selected nodes, then join the selected end nodes).
Reproduced with new node tool in Inkscape 0.48.0, 0.48.4 and current trunk (r12137) on OS X 10.7.4
Workaround with Inkscape 0.48 for the path in the attached example:
1) select both nodes
2) delete segment between the two non-endpoint nodes
3) join the selected nodes
-> resulting path has 13 nodes total, and the outline curve is unchanged.