Inkscape omits masks defined in root when importing SVG file

Bug #1482440 reported by qubodup
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

When opening attached svg in chrome, it looks fine:
http://i.imgur.com/WjwFh7i.png

When opening it in inkscape, it's broken:
http://i.imgur.com/G1eOXBs.png

Icon source:
https://love2d.org/wiki/L%C3%B6ve_Logo_Graphics

Inkscape 0.91 r13725 (May 25 2015) Linux

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

With Inkscape 0.91 r13725 and 0.91+devel r14281 on OS X 10.7.5:
- not reproduced when opening the file directly:
  the gradients - applied via masks - render as expected
- reproduced when importing the file via 'File > Import':
  the mask and gradient definitions which are outside of any
  <defs> section directly in document root are not imported.

Related earlier report:
* Bug #609101 “File->Import image is not compatible with File->Open”
  https://bugs.launchpad.net/inkscape/+bug/609101

tags: added: importing svg
Revision history for this message
su_v (suv-lp) wrote :

The file also has multiple <defs> sections, each with a single filter definition: in Inkscape 0.91, only the first one is imported. This is fixed in trunk, and tracked separately in bug #1460057.

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

Masks defined outside defs sections are also omitted via 'File > Import' if they don't use gradients (i.e. the underlying issue when importing SVG files is not specific to gradients, but AFAIU affects resource definitions in general which are not stored within a <defs> section).

summary: - Inkscape breaks/ignores gradient
+ Inkscape omits masks defined in root when importing SVG file
tags: added: masking
su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
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.