-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showing Picture using IE 9-10 does not work #66
Comments
Which version of Lienzo? Dev mode or compiled mode? I'll need to look for an IE9/10 machine, I don't have access to one at the moment. |
Latest development version using super dev mode and also deployed application |
ugh, can not reproduce error. I don't have ANY dev box with IE9/10, IE11 is working fine. ANY more info would help, console error logs, SDM console log, Old dev mode stack, ANYTHING. Also exact GWT version, Lienzo version, etc.... how big is test.jpg? can you try layer.add(picture) in the handler? Need some help. |
Hello, It seems to be that minimum code line needed is to just create a new Picture: Picture p = new Picture(url, false); if url points to the correct image url exception is thrown, if image is not found constructor works ok. GWT version is 2.7 Here is DEV mode trace: 17:17:30.403 [ERROR] [lienzotester] Uncaught exception escaped com.google.gwt.event.shared.UmbrellaException: Exception caught: (IndexSizeError) @com.ait.lienzo.client.core.NativeContext2D::drawImage(Lcom/google/gwt/dom/client/Element;DDDDDDDD)([JavaScript object(107), double: 0.0, double: 0.0, double: 0.0, double: 0.0, double: 0.0, double: 0.0, double: 0.0, double: 0.0]): IndexSizeError |
I confirm the bug on my side also (GWT 2.6.1) |
Ahh, from the exception I see the image size is 0.0 for everything. I'll take a look. |
OK, I rolled IE 11 back to 10 on a VM, can reproduce, which is half the battle... |
Try 2.0.151-RC1 |
Additional information:
I use a 256x256 PNG image resource.
|
Gimme a bit to try to dig up an old VM image of Windows with IE9. It's a long shot... and will take quite a while to get everything set up. If you want to submit a PR, go ahead, I'll test it, and if it's fine, I'll merge. Its the open source way :-) |
Dean, when I setup such an environment, I go to https://dev.windows.com/en-us/microsoft-edge/tools/vms/linux/ and there I select the Windows Image I want to test in my vm. |
Oooooh, THAT IS COOL. Thanks, I'll give it a try tonight. |
Read https://www.maketecheasier.com/import-export-ova-files-in-virtualbox/ if you're not used to install this. |
I have both VirtualBox and VMWare Fusion on Mac... one will work. |
Hello,
I am not able to show jpg image in LienzoPanel when using IE 9 or 10.
When adding following CanvasPanel to the RootLayout it should show test.jpg, but with IE it shows error message in the console: SCRIPT5022: IndexSizeError
It works ok with Safari and Chrome.
The text was updated successfully, but these errors were encountered: