Path | Simplify does not work on elliptical arc with non-zero rotation

Bug #324117 reported by Alvin Penner
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Alvin Penner

Bug Description

attached is a test file for testing the Path | Simplify operation

Revision history for this message
Alvin Penner (apenner) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

    When I apply Edit | Select All and then Path | Simplfy, I get the attached result.
    The object that is not properly simplified is an elliptical arc that is unique in that it has a non-zero 'x-axis-rotation'.
    This is very similar to Bug 250236, which was successfully fixed in October.

Revision history for this message
Alvin Penner (apenner) wrote :

    Okay, ignore the reference to Bug 250326. The reason that the elliptical arc with non-zero rotation is causing a problem is because it is not a valid sodipodi object. You cannot create one of these using the Inkscape gui, you have to import it from an external file. If you try to create one in the gui you will get a sodipodi:type = arc for which the rotation angle by definition is zero and cannot be changed. If you rotate this object what happens is you get a rotate transform matrix but the rotation angle is still zero in the sodipodi object. So the arc with non-zero angle is not a legal (or recognized) sodipodi object, and the Simplify operation does not work.
    However, the simplify operation should still work even if the gui doesn't.
    There is also a very unfortunate side effect, which is that the operation : Path | Object to Path doesn't work either on this type of object, which is how I got onto this subject in the first place.

tags: added: node-editing
su_v (suv-lp)
tags: added: shape-editing
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows XP, Inkscape trunk revision 11649.

Workaround:
Modifying a node Inkscape converts the elliptical arc to a Bezier curve that can then be simplified correctly.

Changed in inkscape:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Alvin Penner (apenner) wrote :

fix committed to rev 12756

Changed in inkscape:
status: Triaged → Fix Committed
su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.49
assignee: nobody → Alvin Penner (apenner)
milestone: 0.49 → none
milestone: none → 0.49
Bryce Harrington (bryce)
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.