Comment 10 for bug 170764

Revision history for this message
jazzynico (jazzynico) wrote :

Tested again on Ubuntu 11.04, Inkscape trunk revision 11358.

Thanks for your new patch, it works better now and images from bitmaps editors are correctly taken into account.
But there are two glitches though:

1. When copying from an invalid object (a text from a text editor, or an file from a desktop icon), an empty document is created. It should be detected an treated as if the clipboard were empty (just show a specific message in the status bar).

2. Each time an object is added in the clipboard, the document count increases. Steps:
a. Open a new document with Ctrl+N.
b. The new document is labeled New document 2.
c. Create an object and copy it.
d. Open a new document with Ctrl+N.
e. The new document is labeled New document 4 (or 5 if you pressed Ctrl+C twice, and so on).

It's not as critical as a crash, but would be far cleaner if you could fix it.