GNOME Bugzilla – Bug 316547
Transfer path between images via clipboard
Last modified: 2005-09-19 21:33:52 UTC
The only way to transfer paths between two images, even open at the same time, is to save/load it via HDD. Why not to do it via clipboard?
You can use Drag'n'Drop to drag a path from the path dialog to another image (it might end up unvisible there but will appear in the path dialog. I was under the impression that a bug report for cut'n'pasting path data would already exist, but I did not find it...
There's no bug report, but there's a big fat warning in the source code that is supposed to jump into Simon's eyes whenever he compiles GIMP.
That #warning was for my, not simon's eyes :) Fixed in CVS: 2005-09-19 Michael Natterer <mitch@gimp.org> * app/widgets/gimpclipboard.[ch]: added new public function gimp_clipboard_set_svg() and internal stuff to offer and transfer the svg data to the clipboard. * app/actions/vectors-commands.c (vectors_copy_cmd_callback) (vectors_paste_cmd_callback): implement copy/paste of vectors as SVG. Fixes bug #316547. * app/widgets/gimpvectorstreeview.c (gimp_vectors_tree_view_drag_svg): don't add the terminating nul-byte of the svg string to svg_data_length, it confuses the XML parser. * app/actions/vectors-actions.c * app/actions/vectors-commands.[ch] * menus/vectors-menu.xml: reordered export/import so they are in the same order as copy/paste.