Node editor lies about node type when you convert a curve with smooth nodes to straight

Bug #610817 reported by Will Pittenger on 2010-07-28
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Low
Krzysztof Kosinski

Bug Description

Examine the attached file and follow the instructions inside. su-v and I found two workarounds. First, you can move the node and then move it back. Also, if you drag the handle for an affected node, that will also fix the problem. Unfortunately, if you save the file and reopen it, the problem is still there. So Inkscape is saving the incorrect state somehow.

su_v (suv-lp) on 2010-07-28
tags: added: node-editing
su_v (suv-lp) wrote :

not reproduced with Inkscape 0.47 r22583 on OS X 10.5.8
reproduced with Inkscape 0.48+devel r9662 on OS X 10.5.8

The issue as I understand it: when converting a path segment with two smooth nodes to a straight line segment the nodes are supposed to stay smooth nodes with one handle collinear to the opposite straight line segment whereas the other handle (from the straight line segment) is retracted (Inkscape 0.47).

With Inkscape 0.48+devel the nodes seem to have turned into cusp nodes with one handle the same before the conversion (curved segment -> straight line), the other one retracted. When moving one or both affected nodes within the node tool, the node type is updated and rendered as smooth like in 0.47 (the path visually changes again).

Does not happen with segments that a smooth and a cusp node initially.

Attached file: 'Extensions > Visualize > Draw handles' used to illustrate the differences:
3rd row: 0.48
4th row: 0.47 and 0.48 after forcing an update/rewrite of the path data of the affected nodes

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
su_v (suv-lp) wrote :
su_v (suv-lp) on 2010-11-02
tags: added: regression
Changed in inkscape:
milestone: none → 0.48.1
status: Confirmed → Fix Committed
assignee: nobody → Krzysztof Kosinski (tweenk)
su_v (suv-lp) wrote :

trunk: r9958
0.48.x: r9749

jazzynico (jazzynico) on 2011-03-05
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers