After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316547 - Transfer path between images via clipboard
Transfer path between images via clipboard
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
unspecified
Other All
: Normal enhancement
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-09-17 09:25 UTC by Alexander Rabtchevich
Modified: 2005-09-19 21:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Rabtchevich 2005-09-17 09:25:05 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?
Comment 1 Simon Budig 2005-09-17 10:09:58 UTC
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...
Comment 2 Sven Neumann 2005-09-18 11:41:27 UTC
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.
Comment 3 Michael Natterer 2005-09-19 21:33:52 UTC
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.