unexplainable behavior when copying and pasting symbol, not dragging
Bug #1386426 reported by
Alvin Penner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Low
|
Unassigned |
Bug Description
- Windows XP, Inkscape rev 13638
- open Inkscape, open Symbols Dialog
- draw ellipse or whatever
- in Symbols dialog, click on 'Add Symbol' icon
- in main window, delete original object, just to simplify matters
- save as symbol_org.svg, attached here
- the file should now consist of a single <symbol> element, symbol7263, in the <defs> section, and nothing in Layer 1.
Changed in inkscape: | |
status: | Confirmed → Invalid |
To post a comment you must log in.
- before doing the copy and paste it is probably a good idea to confirm that the current layer is still Layer 1, not root.
- now click on the symbol element in the Symbols dialog, to highlight it
- hit ctrl-C to copy
- with left mouse button, click on the main window to put the focus there, which will deselect the symbol in the Symbols dialog
- use the right mouse button to Paste into the main window
- save as symbol_paste.svg
- at this point we expect a visible symbol in the main window, but there is none.
- if we interrogate the XML editor we find a new <symbol> element in Layer 1, which is not visible.
- underneath it in the XML editor is a <ellipse> element. If we click on the <ellipse> element in the XML editor, then a dotted rectangle becomes visible in the main window, but the ellipse itself is invisible.
- depending on the exact sequence of events, for example if you load the file symbol_paste.svg by itself, you may find that there are two symbols showing in the Symbol Dialog, even though the defs section indicates only one symbol.
Note that a drag and drop operation from the Symbol Dialog works normally. It creates a new <use> element in Layer 1, which is visible.
- Symbols dialog does not exist in Inkscape 0.48.5 so nothing to compare to