Hi Robert.

Robert Burghart:
> Why are LinkActivationListener instances or openLink calls not working in
> SVG 1.2 documents?

Because there’s a bug. :)

> I have traced the event as such:
…
> Now within the method handleEvent in SVGAElementBridge.java:171 on lines 186
> and 187 it creates and adds a AnchorDefaultActionable object to the event
> but it seems this is only will be run if execution makes it back to
> dispatchEvent in EventSupport.java:226 (lines 282-291).  Since this is
> a 1.2document execution returns to dispatchEvent in
> XBLEventSupport.java:210 (line 302).
> 
> I was puzzled by this since the hover over still worked properly but I found
> out that it is probably because it's being handled by a
> DOMMouseOverEventListener (BridgeContext.java:1548) and not
> CursorMouseOverListener (SVGAElementBridge.java:216) as I had suspected.
> 
> I am more than willing to put in code to fix it so the anchor event works
> again, is there a specific place where this functionality should be
> implemented?

You tracked down the bug well!  When changes were made to EventSupport
for default actions, the change wasn’t also made to XBLEventSupport.
I’ve just committed a fix:

  http://svn.apache.org/viewvc?view=rev&revision=601207

Let me know if it doesn’t work for you.

Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

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

Reply via email to