Bug #3226
closedDisappering painted widget on Firefox (windows)
Description
Hello! I have a problem with WPaintedWidget which is disappear from time to time.
In js console I've got following error:
"Error: uncaught exception: [Exception... "Component returned failure code:
0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCanvasRenderingContext2D.drawImage]\"
nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: myAppUrl
:: anonymous :: line 221" data: no]\"
Environment:
Windows 7, Firefox 3.6.28.
I've never seen this bug on linux. What's the problem and how can I get rid of this?
Updated by Vitaly Volochay over 10 years ago
Forgot to notice: seems this bug only appers if WPaintedWidget uses drawImage method.
Updated by Koen Deforche over 10 years ago
- Status changed from New to Feedback
- Assignee set to Wim Dumon
- Target version changed from 3.3.1 to 3.3.4
Hey,
Ah, that's a good hint. How do you call drawImage()? Perhaps there is something wrong (on WIN32) with the code that tries to deduce the size of the image from the file.
Regards,
koen
Updated by Vitaly Volochay over 10 years ago
I use it like that:
WPainter::Image image("pic.png", w, h);
WPainter painter(paintDevice);
painter.drawImage(0, 0, image);
Updated by Wim Dumon over 10 years ago
Hey,
can you send a small but complete example that reproduces the issue? Preferably including the image that is painted.
BR,
Wim.
Updated by Benoit Daccache over 9 years ago
- Status changed from Feedback to Resolved
- Target version changed from 3.3.4 to 3.3.5
Updated by Benoit Daccache over 9 years ago
- Status changed from Resolved to Closed