Project

General

Profile

Bug #3226

Disappering painted widget on Firefox (windows)

Added by Vitaly Volochay over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
05/29/2014
Due date:
% Done:

0%

Estimated time:

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?

#1

Updated by Vitaly Volochay over 8 years ago

Forgot to notice: seems this bug only appers if WPaintedWidget uses drawImage method.

#2

Updated by Koen Deforche over 8 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

#3

Updated by Vitaly Volochay over 8 years ago

I use it like that:

WPainter::Image image("pic.png", w, h);
WPainter painter(paintDevice);
painter.drawImage(0, 0, image);

#4

Updated by Wim Dumon over 8 years ago

Hey,

can you send a small but complete example that reproduces the issue? Preferably including the image that is painted.

BR,

Wim.

#5

Updated by Benoit Daccache about 7 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from 3.3.4 to 3.3.5
#6

Updated by Benoit Daccache about 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF