Project

General

Profile

Actions

Bug #3226

closed

Disappering painted widget on Firefox (windows)

Added by Vitaly Volochay almost 10 years ago. Updated over 8 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?

Actions #1

Updated by Vitaly Volochay almost 10 years ago

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

Actions #2

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

Actions #3

Updated by Vitaly Volochay almost 10 years ago

I use it like that:

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

Actions #4

Updated by Wim Dumon almost 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.

Actions #5

Updated by Benoit Daccache over 8 years ago

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

Updated by Benoit Daccache over 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF