Hi Claire,
> Once the rectangle is drawn, the svg document is correctly updated but the > cursor still crosshair as long as it is on the background. When the cursor > is placed over an object it's actually refreshed and becomes a default > cursor. (my background is a white rectangle with sheet size). > > Everything's ok when we load the document in squiggle. This is a bit awkward. It may have something to do with your particular implementation, as you state everything works as expected in Squiggle. Few thoughts/suggestions: * If the background element is within the Swing environment (and not within the SVG environment), I guess that would explain the behavior; * Try forcing the cursor in the background element (to "default", as this is apparently the desired behavior); * There were recent a couple of recent fixes in cursor handling (revision 769733 [1] should be the last one, at least for now); * This may also be related with issue 23443 [2] (which is a know issue for a while) but this is only a guess. Please follow up with your results, specially if any of this helps working around the unexpected behavior. ;-) > Regards. > Claire. Hope this helps, Helder [1] https://svn.apache.org/viewcvs.cgi?view=rev&rev=769733 [2] https://issues.apache.org/bugzilla/show_bug.cgi?id=23443 --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org