Bug report #8609

HTML Annotation does not display HTML

Added by Tim Sutton about 11 years ago. Updated almost 8 years ago.

Status:Closed
Priority:Normal
Assignee:Marco Hugentobler
Category:Map Canvas
Affected QGIS version:master Regression?:No
Operating System:OSX Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17350

Description

Using master / 2.1 setting the html page for an html annotation has no effect, the box remains white. I tested using the small snippet:

<html>
<head>
</head>
<body>
<table border="1">
  <tr>
    <td>Row 1 Cell 1</td>
    <td>Row 1 Cell 2</td>
  </tr>
  <tr>
    <td>Row 2 Cell 1</td>
    <td>Row 2 Cell 2</td>
  </tr>
</table>
</body>
</html>

I also tried testing with a locally downloaded page from my web browser.

table.html Magnifier (207 Bytes) Tim Sutton, 2013-09-14 12:38 AM

Associated revisions

Revision 53c3ed2d
Added by Nyall Dawson almost 8 years ago

Fix HTML annotation does not display HTML (fix #8609)

Annotation was only rendering html when it was associated with a
map layer. Now if it isn't associated with a map layer it will
always render the html.

Revision 48e6bfc6
Added by Nyall Dawson almost 8 years ago

Fix HTML annotation does not display HTML (fix #8609)

Annotation was only rendering html when it was associated with a
map layer. Now if it isn't associated with a map layer it will
always render the html.

(cherry-picked from 53c3ed2dc02baf43c3a5cc7323f37869f434f25a)

Revision 46030757
Added by Nyall Dawson almost 8 years ago

Fix HTML annotation does not display HTML (fix #8609)

Annotation was only rendering html when it was associated with a
map layer. Now if it isn't associated with a map layer it will
always render the html.

(cherry-picked from 53c3ed2dc02baf43c3a5cc7323f37869f434f25a)

Revision 3efbc0be
Added by Nyall Dawson almost 8 years ago

Fix HTML annotation does not display HTML (fix #8609)

Annotation was only rendering html when it was associated with a
map layer. Now if it isn't associated with a map layer it will
always render the html.

(cherry-picked from 53c3ed2dc02baf43c3a5cc7323f37869f434f25a)

History

#1 Updated by Nathan Woodrow about 11 years ago

They work for me here however you have to have a active layer before you add it otherwise it doesn't render.

Should it work without an active layer?

#2 Updated by Nyall Dawson almost 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF