Merge Style Extension allows multiple uses of same class name, can lead to data corruption.

Bug #1295343 reported by Alvin Penner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Martin Owens

Bug Description

- this is using the new extension StyleSheet->Merge Styles, rev . 13164
- the problem occurs only if the same class name is used multiple times on the same file.

- draw 3 circles, colored R, G, B
- select all and apply StylesheetMerge
- note that one class called class1 is created in defs
- save as Styletest1.svg

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

- select bottom two circles, green and blue
- apply StyleSheetMerge
- note that two classes called class1 are present in defs. The two classes are not the same.
- save as StyleTest2.svg

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

- select bottom two circles again, green and blue
- apply StyleSheetMerge
- note that 3 classes called class1 are present in defs. The 3 classes are not the same.
- note that both circles are now green, blue is overwritten
- save as StyleTest3.svg

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

@Martin - maybe you could take a closer look at this?

tags: added: extensions-plugins
Revision history for this message
Martin Owens (doctormo) wrote :

Thanks for the heads up suv.

Changed in inkscape:
assignee: nobody → Martin Owens (doctormo)
status: New → Confirmed
su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
Alvin Penner (apenner) wrote :

it is no longer possible to test this extension on Windows 10,
the extensions fails,
Inkscape 1.0alpha (9cedb1b, 2019-02-08)

Changed in inkscape:
status: Confirmed → Invalid
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.