Project

General

Profile

Actions

Bug #1188

closed

WPaintedWidget and FF 3.5 and HTML version

Added by Boris Nagaev over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/16/2012
Due date:
% Done:

0%

Estimated time:

Description

Hello!

In the example attached, the application displays empty page, if JavaScript is off and Firefox 3.5.16 is used.

Firefox 9.0.1 --- all is OK.

Other versions of Firefox were not tested.

Wt 3.2.0

This bug was discovered by Ramil Mintaev (ramil.mintaev@gmail.com)


Files

test2.cpp (986 Bytes) test2.cpp Boris Nagaev, 03/16/2012 03:06 PM
Actions #1

Updated by Wim Dumon over 12 years ago

  • Status changed from New to Feedback

Inline SVG on old browsers will only work if you render your page as XHTML. You need to specify this in the config file:

true

Are you rendering XHTML?

Alternatively, use the rasterimage backend for this image (which will render the image server-side and serve it as an ).

Actions #2

Updated by Boris Nagaev over 12 years ago

Hello!

With send-xhtml-mime-type=true, it uses svg and it works.

With send-xhtml-mime-type=false, it uses canvas (empty).

I think, with send-xhtml-mime-type=false, Wt should select another back-end for WPaintedWidget

Actions #3

Updated by Koen Deforche over 12 years ago

  • Status changed from Feedback to InProgress
  • Assignee set to Koen Deforche
  • Target version set to 3.2.2

Hey,

The only alternative would be to switch to the PNG backend (if Wt was built with support for this).

Regards,

koen

Actions #4

Updated by Koen Deforche over 12 years ago

  • Status changed from InProgress to Closed

A fix is included in Wt 3.2.2.

Actions

Also available in: Atom PDF