"object to path" removes class attribute

Bug #1727961 reported by Aurèle Duda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
Aurèle Duda

Bug Description

Linux mint and Inkscape 0.92+devel (733a237, 2017-10-27)

When a object is changed to path using "object to path", it lost his class attribute if any.

Open test_class_objecttopath.svg
select the circle or the rectangle
open xml-editor : a class attribute is set (class="test")
use object>object to path
look at the path in xml-editor : the class attribute has disappeared.

Test case and Patch provide

Tags: objects class
Revision history for this message
Aurèle Duda (aureleduda) wrote :
Revision history for this message
Aurèle Duda (aureleduda) wrote :

Patch proposal to preserve class attribute

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Patch seems correct, Thanks. Anyway there is a typo in a comment "// remember id" > "// remember class"

Revision history for this message
Aurèle Duda (aureleduda) wrote :
Revision history for this message
Jabiertxof (jabiertxof) wrote :

Thanks. please commit or make a MR in gitlab.

Revision history for this message
Aurèle Duda (aureleduda) wrote :

Ok I finally managed how to make.

Revision history for this message
Mc (mc...) wrote :
Changed in inkscape:
status: New → Fix Committed
milestone: none → 0.93
importance: Undecided → Wishlist
assignee: nobody → Aurèle Duda (aureleduda)
Max Gaukler (mgmax)
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

Bug attachments

Remote bug watches

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