Comment 5 for bug 209296

Revision history for this message
sas (sas-sas) wrote : Re: SVG Import fails via drag n' drop

Here's a simpler test file.

If you open this file in Inkscape, you'll see that there are three squares with gradients.

But if you import the file, you'll only see the first square. The other two squares are still there, but they don't render because they are filled with gradients that failed to get imported. The gradient that was imported successfully was in the first 'defs' elements, while the other two were in the second and third and 'defs' elements.

If you edit the file in a text editor to combine the 3 'defs' elements into 1, then the file imports OK. So the problem is as I suggested before - when importing, Inkscape ignores all but the first 'defs' element in the file.