Mesh gradients aren't copied between documents

Bug #1643255 reported by prkos on 2016-11-20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Tavmjong Bah

Bug Description

When copying an object with a mesh gradient the object copied into a new document keeps the url reference, but the mesh definition isn't copied into defs.

su_v (suv-lp) on 2016-11-21
tags: added: clipboard
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.92pre3 r15207 (on OS X 10.7.5): pasting within the same document does auto-fork (duplicate) the gradient mesh(es) referenced in the pasted object's style. In a new document, definitions of referenced mesh gradients are missing entirely.

Changed in inkscape:
status: New → Confirmed
jazzynico (jazzynico) wrote :

Also reproduced on Windows XP (32-bit), lp:inkscape/0.92.x rev. 15213.

Changed in inkscape:
importance: Undecided → Medium
status: Confirmed → Triaged
su_v (suv-lp) wrote :

Also affects 'Cut&Paste' within the same document: the mesh gradient definition seems auto-purged on 'Cut' and not added back by on paste.

su_v (suv-lp) wrote :

AFAICT, unlike for linear or radial gradients, the mesh gradient definition is not included in the 'inkscape-clipboard-import' temp file which contains the clipboard content as a document (see attached example 'inkscape-clipboard-import' of a circle with radial gradient and a rect with mesh gradient).

jazzynico (jazzynico) on 2017-01-27
Changed in inkscape:
milestone: 0.92 → 0.93
Geoffrey Mégardon (nodragem) wrote :


I spotted a bug which is also related to copy-pasting an object that has a mesh gradient on it from one layer to another layer. When doing so the pasted mesh gradient does not have the right scale/size (see attachment).

As this is really close to this thread, I hesitate to open a new bug issue, or to post it here.

Geoffrey Mégardon (nodragem) wrote :

The PNG attachment I just posted was corrupted, this one should be ok.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers