Pen: Shift+Enter creates a subpath when used while appending a path

Bug #1639098 reported by Hachmann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Jabiertxof

Bug Description

1. Draw open Path with Bézier/Pen tool
2. Finish path with right-click or Enter
3. Click on one of the paths end nodes to append to it. Draw.
4. Hit Shift+Enter

5. Expected result: Close Path (or subpath) from new end node to old start node.
   Actual result: An independent subpath is being created, from new end node to a new start node (where we wanted to append the path)

Jabiertxof (jabiertxof)
Changed in inkscape:
assignee: nobody → Jabiertxof (jabiertxof)
Revision history for this message
Jabiertxof (jabiertxof) wrote :

This patch fix the bug.

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Fixed on trunk r15211 and in 0.92.x in r15151

Changed in inkscape:
status: New → Fix Released
Revision history for this message
Hachmann (marenhachmann) wrote :

Thank you, Jabier! Now it closes the current subpath, right?
I can't really read what is happening in the changed code...

Revision history for this message
Jabiertxof (jabiertxof) wrote :

You are welcome Maren. Previously the path is closed by "forceclosed" before check if is a continuation of other path, I just reverse the order.
Cheers, Jabier.

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.