Hi Serrano,

Claire SERRANO <[email protected]> wrote on 09/28/2009 05:03:34 AM:

> When I remove all elements, all elements are removed of SVG file but not 
in
> SVGCanvas (before pan/zoom).
> The first and the second part are completely unpredictable (not in same
> group etc.)

    I think you need to provide a more complete code example that shows
the problem.  Trust me Batik does not randomly pick elements to remove
from the rendering tree ;).

> All removals are performed in update manager thread, I test my 
application
> under Debug mode.

    How do you get the updateManager's Update thread?

> Actually I made a
> 
"svgCanvas().setRenderingTransform(svgCanvas().getRenderingTransform());",
> it works but it is not very clean..

    This means that the rendering tree (GVT) is getting updated
with the changes but those changes aren't being noticed by the
Canvas.  Without your hack does the canvas update if you 'mouse over'
the canvas?  Also is the canvas set to be dynamic?

    I think your best option at this point is to try and produce
a standalone example that shows your problem.  I think that exercise
will either show you what the problem is, or at the end make it fairly
easy for us to point out the problem.

Reply via email to