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

Bug #610817 reported by Will Pittenger
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
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.

Revision history for this message
Will Pittenger (will-pittenger1) wrote :
su_v (suv-lp)
tags: added: node-editing
Revision history for this message
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
Revision history for this message
su_v (suv-lp) wrote :
su_v (suv-lp)
tags: added: regression
Changed in inkscape:
milestone: none → 0.48.1
status: Confirmed → Fix Committed
assignee: nobody → Krzysztof Kosinski (tweenk)
Revision history for this message
su_v (suv-lp) wrote :

trunk: r9958
0.48.x: r9749

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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