eclipse-birt / birt

Eclipse BIRT™ The open source reporting and data visualization project.
http://www.eclipse.org/birt
Eclipse Public License 2.0
458 stars 394 forks source link

BIRT/HTML-output: hyperlink doesn't work for embedded svg-images because the pointer events will be forwarded #1924

Closed speckyspooky closed 2 months ago

speckyspooky commented 2 months ago

BIRT has the standard option to add hyperlinks or drillthrough options to different elements. This option is also available for images.

If SVG-images will be used then appears a topic with the eventhandling of the browsers. The pointer-event from the hyperlink will be delegated through the embed-tag directly to the embedded SVG-document. The result is that the click fpr the hyperlink doesn't work correctly. This is only a special behavior of SVG which will be added as documents to the HTML-output. All other (raster-)images embedded (raster-)images too works correctly.

Screen of the embedded SVG, without click-hand

grafik

Screen of the embedded PNG, with click-hand

grafik

I will provide a change for it.

speckyspooky commented 2 months ago

The small enhancement is added to the master PR #1925. I tested the standard image-cases and chart-cases (chart output like SVG). This change has no side effects to chart-svg-eventhandling.