symbol library: dependencies are not respected when adding nested symbols

Bug #1501271 reported by Udo Giacomozzi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Situation:
You have a custom symbol library. The symbols in that library partly depend on other symbols in the same library. The .svg library file is copied to the share/symbols/ subfolder of the Inkscape installation directory.

Problem:
When adding such symbols to a new document (by using the symbol library in the GUI), only the dragged symbol gets imported to the document, but not other symbols from the same library that are required to render the desired symbol correctly. No error message is shown, but the symbol is simply rendered incompletely.

I've added a TESTCASE to this bug report:
- copy "testcase-lib.svg" to the share/symbols/ subdirectory
- open Inkscape
- open the Symbols panel and select the testcase symbol set (it will probably be named "unnamed symbols")
- drag the *orange* symbol to the document
- ==> you only see "outerSymbol" on the canvas and a orange rectable
- drag the *yellow* symbol to some empty space on the document
- ==> two "innerSymbol" will appear, one inside the "outerSymbol"

NB: Since we're using Inkscape to draw SCADA/HMI diagrams, we depend on nested symbols a lot. We effectively copy our own libraries directly into share/symbols/ since AFAIK there is no other way to reuse custom symbols.

Tags: symbols
Revision history for this message
Udo Giacomozzi (udo-launchpad) wrote :
Revision history for this message
Udo Giacomozzi (udo-launchpad) wrote :

BTW, when copying/pasting symbol instances (<use>) between documents, the required symbol definitions are not copied either - resulting in a <use> tag with a xlink:href to a inexistent symbol.

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

On 2015-09-30 12:46 (+0200), Udo Giacomozzi wrote:
> BTW, when copying/pasting symbol instances (<use>) between
> documents, the required symbol definitions are not copied either -
> resulting in a <use> tag with a xlink:href to a inexistent symbol.

Tracked in earlier report (not specific to the new symbols library feature in Inkscape 0.91):

* Bug #220521 “Group element in <defs> section lost during copy/paste between inkscape windows”
https://bugs.launchpad.net/inkscape/+bug/220521

tags: added: symbols
Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/issues/2285
Closed by: https://gitlab.com/jhofinger

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