Multiple gradient copies

Bug #1010987 reported by eurekafag on 2012-06-09
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Inkscape r9886, Debian Wheezy x86_64. Editing the gradient of the parent of clones produces lots of gradient copies. Steps to reproduce:
1) Create a rectangle.
2) Make a clone of it.
3) Press F2 and select the parent rectangle.
4) Set its filling to linear gradient.
5) Press Edit... to edit the gradient.
6) Add a couple of stop points.
7) Drag these points and watch a bunch of gradients created per every move. If you drag the offset slider everything is ok but not when you directly move the stop points.
It seems Inkscape creates a copy of the gradient when you edit one already used on another object to avoid unwanted changes on that object. Though here it enters a kind of loop creating more and more copies. If you delete the child rectangle and try to move the stop points exactly one gradient copy is created as it should be.

su_v (suv-lp) wrote :

Reproduced with Inkscape and Inkscape 0.48+devel r11495 if the deprecated gradient editor dialog is open while dragging gradient stops assigned to an object which has clones.

Not reproduced with Inkscape and Inkscape 0.48+devel r11495 if using on-canvas editing of gradients to insert and position the stops on-canvas (without opening the deprecated gradient editor dialog).

Note: in current trunk, all options of the gradient editor dialog have been added to the controls bar of the gradient tool (thus making the floating gradient editor dialog obsolete) - see bug #950677.

Related effect with pattern fills of objects which have clones:
Bug #693927 “pattern-spam on pattern-edit if clone of the pattern-filled object exists”

tags: added: clones gradient
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Beluga (buovjaga) wrote :

I guess this could be closed as the controls bar of the gradient tool has been in stable releases for a long time?

jazzynico (jazzynico) on 2016-08-24
Changed in inkscape:
milestone: none → 0.91
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers