Knot LPE ignores not-redundant 'z' segments

Bug #606859 reported by su_v
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Johan Engelen

Bug Description

The 'Knot' path effects fails for crossings with not-redundant 'z' segments (straight lines closing a shape or path):
The results on canvas are not consistant and toggle between almost correct and (heavily) distorted paths:
- on load, only crossings with not-'z' segments are recognized and rendered
- toggling the visibility of the path effect results in a distorted path
- the same distorted path seems stored in the SVG source and used by other renderers (e.g. Firefox)

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

Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :

test file drawn with Inkscape 0.47

Revision history for this message
su_v (suv-lp) wrote :

test file drawn with Inkscape 0.48+devel r9620

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows XP, Inkscape trunk revision 9674.

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
tags: added: regression
Revision history for this message
Johan Engelen (johanengelen) wrote :

Fixed in r9860.

Note:
LPE-Knot is horribly bugged when enabled and dragging knots around. I only found it usable after disabling it in the LPE dialog, drag path, then enable lpe-knot again...... :(

Changed in inkscape:
status: Confirmed → Fix Committed
assignee: nobody → Johan Engelen (johanengelen)
milestone: none → 0.48.1
Revision history for this message
su_v (suv-lp) wrote :

Regression with closed curves in r9850 (other examples in prev. attached files work fine).

Revision history for this message
su_v (suv-lp) wrote :

oops, typo:

- Regression with closed curves in r9850
+ Regression with closed curves in r9860

Changed in inkscape:
status: Fix Committed → In Progress
Revision history for this message
su_v (suv-lp) wrote :

Another example of incorrect rendering of the 'Knot' lpe with closed curves (regression in r9860, tested against r9859):
closed curves now either disappear (comment #6) or appear cut off when rendered with the knot effect applied.

Revision history for this message
Johan Engelen (johanengelen) wrote :

Ok, fixed in r9862 then? :P

Revision history for this message
su_v (suv-lp) wrote :

r9862 looks fine (all examples above now render as expected).

thx, Johan :)

Revision history for this message
su_v (suv-lp) wrote :

inkscape trunk: r9862
inkscape 0.48.x: r9707

Changed in inkscape:
status: In Progress → Fix Committed
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.

Other bug subscribers

Remote bug watches

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