On 11/10/2007, at 10:22 AM, greg fenton wrote:

I am using some images from openclipart.

I am trying to copy two different balloons (clipart/recreation/party/balloon-red-aj.svg and balloon-blue-aj.svg) into a single new image.

I first copy -red and paste into the new image and all is good. When I copy -blue and paste into the new image, it is pasted also as red (not blue).  Nothing I seem to do will copy the image over as blue.

If I create a second new image and paste just the blue, it copies over as blue.  If I then copy red and paste, it pastes as blue.

Any suggestions as to how I can get the copy to happen?

Just a guess...

I had an SVG file where some of the colour were defined using CSS as a top-level style tag.  When they were opened in Inkscape they displayed fine, but those colour came out wrong when copied to a new file since I guess the CSS values were not copied across.

I was able to paste it to the other file with correct colours by:
1) Open the file in Inkscape
2) Select the relevant objects and copy
3) Paste them within the same document
4) Copy the newly pasted selection
5) Paste that into the new document

These steps don't work with you balloon example.  Your problem looks similar but with gradients instead of CSS, probably because the gradients are named the same in different coloured balloon images, so the pasted blue balloon just references the red balloons gradients in the pasted version since they are named the same.

I'm not sure if this should be considered a bug or not (multiple pasted balloons use the same gradients). 
CC'ing to the developers list to see what people think about this, and whether there is any kind of hidden option to get the behaviour you want.


Cheers,
Michael