Pasting a full SVG component inside a text field #2045
Description
From jerome.b...@gmail.com on June 18, 2012 16:54:03
- Select a component in the PCB view, press ctrl-c to copy it.
- Go to a text field of some component in the inspector. Press ctrl-v
- Observe the new label of the component. It is now filled with <boundingRect rect="44.5 174. ... (goes on for few dozen lines.)
I would say this is not a bug as everything is handled nicely, but this behaviour is very much unexpected by the user. The ability to copy-paste text inside text descriptions in general is useful (also it seems to be the only way to get the silkscreen display multi-line text), but I think that the paste-component-as-svg-inside-a-label feature could confuse the user.
Just to say, I'm not purposely trying to do crazy things just to see what happens! I came across this one because of some issue similar to #1988 (updating labels). When editing title label, sometimes it won't validate a change despite (repeatedly) pressing the Enter key. (Maybe it's fixed together with #1988, I'll test whenever a new version is released.) Anyway that's how I ended up pasting a component inside a label instead of pasting it on the board. It was wondering why my paste failed, as there was obviously no component pasted... until the label finally validated itself with more text inside.
Original issue: http://code.google.com/p/fritzing/issues/detail?id=2045