On Sun, 2014-04-06 at 02:07 +0200, Johan Engelen wrote:
Hi all, I am trying to fix this bug: https://bugs.launchpad.net/inkscape/+bug/1299461
What I see is some weird behaviour. It seems a "ghost" object is lingering around after creating a clone. What I see is that after cloning a path, every change to that path now triggers /two/ calls to SPPath::set. The second call is on an SPObject with no id set (getId() == null), but it's repr points to the original path (1st path id == 2nd path->getRepr()->attribute("id")). This second object is triggering an LPE calculation before everything is set up correctly, leading to the bug reported.
I don't know how this ghost object arises, and I believe it should be killed. At the very least it is triggering duplicate operations; and at worst, it bugs normal operation.
I don't know if this is related, but I have occasionally seen in the XML dialog the same object repeated two or more times.
Tav