id values in symbol libraries arbitrarily change on save

Bug #1546061 reported by Simon Brooke on 2016-02-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Unassigned

Bug Description

We maintain a complex symbol library, which is revision controlled through Git. We've noticed that when a user loads the library into Inkscape, designs and adds a new symbol, and resaves the library, all the id values in the file change, not just those of the newly added symbol.

This gives rise to merge conflicts when changed libraries are merged from different branches.

It would be greatly convenient to us if id values of elements which had not been edited did not change. I have no idea how complex this would be to implement, or whether it's an issue which affects other users, but it wiuld be helpful to us!

Mc (mc...) wrote :

Hi,

Can you provide a simple (if possible minimal) file with changing ids ?
I think inkscape will add ids to all elements that didnt have any, but should keep others (if unique)

Thanks!

jazzynico (jazzynico) on 2016-03-19
tags: added: saving svg
removed: id load revision-control save
jazzynico (jazzynico) wrote :

Not reproduced on Windows XP (32-bit), with Inkscape 0.91 and trunk rev. 14718. Objects and groups keep their ID when the file is changed.

@Simon - Could you please attach an example SVG file, and give details on your operating system and Inkscape version? Thanks!

Changed in inkscape:
status: New → Incomplete
Simon Brooke (sbrooke) wrote :

Will try to get you a 'minimal example' today - standard library is quite large!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers