id values in symbol libraries arbitrarily change on save

Bug #1546061 reported by Simon Brooke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Expired
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!

Tags: saving svg
Revision history for this message
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)
tags: added: saving svg
removed: id load revision-control save
Revision history for this message
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
Revision history for this message
Simon Brooke (sbrooke) wrote :

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Inkscape because there has been no activity for 60 days.]

Changed in inkscape:
status: Incomplete → Expired
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.