Thomas DeWeese wrote:

Can you provide more information.  What test files you were using
etc.

My colleague Mitch just mailed a couple of samples to the list. But I am able to make it hang with pretty much any 2 files from the samples directory. For example "anne" and "mathMetal".

I tried varying the length from about 200ms to 800ms and while I
would get long stretches of one image I would eventually get one of
the others (and it was always blanking then showing image blanking
showing image etc - which I think means that even when I got long
stretches of the same image it was still trying to load each of the
images it's just that that image was making it far enough along to
get displayed).

I first noticed the problem when using a JSlider to navigate among a dozen or so documents. The slider moved slowly, because setSVGDocument is a somewhat slow process, and I needed to call it via the Swing thread. However once the canvas got stuck, the slider suddenly became much more lively, apparently because setSVGDocument was returning very quickly; it seemed like it was doing no work at all. However since the JSlider was user-driven, it was hard to reproduce. So then I came up with the "swap two documents" approach, which seems to be more predictable.

What platform are you testing on?  Under WinXP it seems to happen only
after many iterations.  I noticed that resizing the window sometimes
makes it happen sooner.  Sorry this is so vague.  Thanks for
investigating this.

BTW this is Batik-1.5 from CVS.

--
George Armhold
Rutgers University
eLearning Grant, DCIS


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to