Hi,
  We are having a bug with tooltips reeking havoc on the display with
Batik 1.5b4.  Only occurs with JRE1.4, JRE1.3 is fine.
  
  Using the same program as before in the applet bug i.e. 

canvas = new JSVGCanvas();
canvas.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC);
canvas.setURI("file://test.svg");

We are running this as an application so it should be easy 
replicate.  "test.svg" is the following document

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
"http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd";
>
<svg width="100%" height="100%" viewBox="0 0 2 2">
<title>SVG drawing</title>
<rect x="0" y="0" width="10" height="10" style="stroke:none;fill:white;"/>
<g>
<title>tooltip00</title>
<polygon points="0,0,0,1,1,1,1,0"
style="stroke:#f0e68c;stroke-width:0;fill:#f0e68c;fill-rule:nonzero;"/>
</g>
<g>
<title>tooltip01</title>
<polygon points="0,1,0,2,1,2,1,1"
style="stroke:#f0e68c;stroke-width:0;fill:#000000;fill-rule:nonzero;"/>
</g>
</svg>

1. Hold the mouse over a box until the tooltip shows.
2. Oscillate the mouse between the light and the darkness to continually
change the tool tip.

With JRE1.4 the tool tip will cause a "mark" to persist on the window.  It
cannot be removed.
If the "ALWAYS_DYNAMIC" line is left out of the code everything works fine.

Hope there is an answer out there soon.  We had to cut tooltips from our
delivery last week.

Thank you

Gavin Walker

[EMAIL PROTECTED]                        Computer Scientist
CSIRO Mathematical and Information Sciences  Internet Marketplaces
GPO Box 664                                  tel: +61 2 6216 7030
CANBERRA  ACT  2601   AUSTRALIA              fax: +61 2 6216 7111


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

Reply via email to