You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Paul Sharples (JIRA)" <ji...@apache.org> on 2010/11/29 16:49:11 UTC

[jira] Commented: (WOOKIE-158) Butterfly widget causes javascript error alert in IE8

    [ https://issues.apache.org/jira/browse/WOOKIE-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964784#action_12964784 ] 

Paul Sharples commented on WOOKIE-158:
--------------------------------------

I've been experimenting with various libraries to allow IE8 to show html5 canvas elements, before giving up for good on it.

I tried excanvas (http://excanvas.sourceforge.net/) and although it works, the user experience in IE is pretty poor (the colouring in is very unresponsive)

I next tried flashcanvas, (http://code.google.com/p/flashcanvas/) which on the whole is a lot better but of course embeds a flash object to implement the canvas. The picture of the butterfly isn't as neat, but the widget works.  I've used feature detection in the browser to include the necessary Js files for IE.

Are there any issues with the MIT licence for flashcanvas (it would be included within the widget package) If not i think this lib will do the trick until everybody is usng IE9.

If there is no licence type issue, then this also should fix WOOKIE-162

> Butterfly widget causes javascript error alert in IE8
> -----------------------------------------------------
>
>                 Key: WOOKIE-158
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-158
>             Project: Wookie
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>         Environment: Win Vista IE8
>            Reporter: Paul Sharples
>            Priority: Minor
>             Fix For: 0.9.0
>
>
> The Butterfly widget has fallback behaviour to tell the user that it won't work in IE8 (This appears as text in the actual widget)
> 'Unfortunately, your browser is currently unsupported by this widget...Please use of the supported browsers listed below....'
> This seems acceptable behaviour, except that a javascript alert box also appears...
> 'Error: no canvas.getConext!'
> Would it be better to trap this js error as the page already informs the user that the browser is unsupported?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.