Save very slow (+ 10 minutes) for 1.7Mb svg

Bug #1458156 reported by Stuart J Mackintosh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Using Mint 17.1 / XFCE

I have a 1.7Mb svg, originally created in Adobe Illustrator. It has been updated in inkscape 0.48, but to access some new features of 0.91, I added the PPA and installed.

When I save the file out, it takes over 10 minutes.

I have deleted all of the content (as a test), and the file takes equally as long.

The original file provided from Illustrator saves without issue although it is 2.4Mb, so something has most likely been introduced whilst I have been working in 0.91 that causes this.

I have opened the XML Editor and found the following node ID: adobe_illustrator_pgf which is 12000 lines of binary, an example of the first few rows here:

eJzkveuuXceRJvgE+x3O/BBgG3Oolfdc7sEA5CHp9kAuuy2r2o1Cg2AdUTa7eREoqqo9Tz8ZmRGR
kRlBWmfLPwo9Jmxzf8xv5f0WGZcv/o8/fH37+Nv3//rqNjw6bi5ffHH34dXLj+8//Pqmoze/ffPm
xx8+fgDoF3/85Y3Lj46W6PFv6wtM+M+vPvzw+v27X/d/ehTbPz4H9i+e/uaXN7/4Zfv5p9cf37xq
wO+fPr/x5xFcevTDv/3ll5RV4z59+bEl8OeXR/jSHy61T/36OCHBy3f/9vKHH17/v6/g86GGhj15
/+O7b1+/+8uT9//r1ze34ebWHTXcuHiGG/jn//z6j69+WNP4Rz71ZO0v51khLUDuBv63UZ6+v//x
7at3H//w4f39qx9+uHv/5v2HH359c/e3l+9ufvfyL+1fXt78t1dv3rz/95snb17e/09Bef76zasf

When I delete this node, the file reduces to 720Kb, and saves in an instant; there seems to be no loss of data / content.

The impact is that when it starts to save the file, it truncates the previous one, so a ctrl-S (which I do without thinking, to preserve my data) effectively means I have to wait till it has finished, or ironically, loose my changes.

I propose that the following could be considered bugs:
1) Inkscape did not alert me that there was this redundant content, and offer a solution
2) Handling this size of data takes an inordinate time
3) Inkscape should have a "Saving file..." dialogue

Fortunately, the XML editor allowed me to address the issue with my document, however as Inkscape 0.91 is such an excellent product, it is likely that more people will be using it and importing Illustrator files, and may have this same issue, then conclude that Inkscape is unusable.

Revision history for this message
jazzynico (jazzynico) wrote :

@Stuart - Thanks for your report and your suggestions.
Would you be willing to attach and example SVG file that causes problems (don't hesitate to compress if the file is too big) so that we can investigate?

Changed in inkscape:
status: New → Incomplete
tags: added: importing
Revision history for this message
su_v (suv-lp) wrote :

Closing due to lack of feedback by the reporter: no test case available (original SVG file created with AI, modified version saved with Inkscape 0.48) which would allow to investigate the reported problem.

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