xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 7 forks source link

No links appear in XWiki PDF export when using a Textbox #215

Open ane-gabriela opened 2 years ago

ane-gabriela commented 2 years ago

Steps to reproduce:

  1. Create a new Diagram
  2. Add a Textbox
  3. Select a peace of text and link it to a page
  4. Do this to several pieces of text
  5. Click Save & View Links
  6. Access More actions > Export > Export as PDF
  7. Deselect all options > Export

Expected results: All links work.

Actual results: None of the links appear in the PDF export. xwiki_Diagram_Diagram+5_WebHome.pdf

Note: They appear in a Text shape. xwiki_Diagram_Diagram+5_WebHome (1).pdf

Environment: Windows 10, XWiki 13.4.5, Chrome 96, Diagram Application (Pro) 1.17.1

petrenkonikita112263 commented 1 year ago

I can't reproduce this issue on local 14.10.8 with Diagram Application v1.19, Windows 10 and latest Google Chrome. The external links are working fine. Check the attached PDF file.

test_diagram_with_links.pdf

Also, the issue isn't reproducable with Old PDF Export on local 13.10 version (latest version of app). However, it's still affected by this issue. The text alignment is the default (by left side) after the export text is aligned by the center.

test_diagram_with_links_old_pdf_export.pdf

snazare commented 2 weeks ago

not reproduced on xwiki 15.10.10 and diagram pro 1.20.5. Starting with version 14.10 old pdf export is not supported anymore. We need to cleanup the code for the old pdf export.