Bug 103562 - FILESAVE: Hyperlinks in most objects not persist when you export a presentation to PDF
Summary: FILESAVE: Hyperlinks in most objects not persist when you export a presentati...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: preBibisect, regression
: 116415 (view as bug list)
Depends on:
Blocks: PDF-Export Hyperlink
  Show dependency treegraph
Reported: 2016-10-28 20:55 UTC by Bastián Díaz
Modified: 2020-08-25 16:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Test files (223.70 KB, application/zip)
2016-10-28 20:57 UTC, Bastián Díaz
New es (85.57 KB, application/zip)
2019-03-20 21:36 UTC, haevalencia
odp and export pdf files (13.66 KB, application/vnd.oasis.opendocument.presentation)
2020-04-27 12:20 UTC, Patrick Testaniere
The pdf export file (25.44 KB, application/pdf)
2020-04-27 12:22 UTC, Patrick Testaniere

Note You need to log in before you can comment on or make changes to this bug.
Description Bastián Díaz 2016-10-28 20:55:20 UTC
Only text hyperlinks persist when you export a presentation to PDF.
(Hyperlinks to target the same document)

Steps to Reproduce:
1. Create a Open Document presentation with 2 slides
2. In the second slide insert different types of objects in duplicate to test two different methods interaccción. (Text, Shape, Gallery Object and Image)
3. To first group insert a Hyperlink to the first slide: Insert|Hyperlink, Document, target: Slide 1
4. To second group insert a Interaction to the fist slide
5. Save and export to PDF

Actual Results:  
a.Insert hyperlink method
b.Insert Interaction method
|     | text | shape | gallery | image |
| pdf |   ✓  |   ✓*  |    ✓*   |   ✓*  |
| pdf |   x  |   x   |    x    |   x   |
* Hyperlinks appear available but when selected indicates "no such file or directory"

Expected Results:
All hyperlinks work when exporting the presentation to PDF

Reproducible: Always

User Profile Reset: No

Additional Info:
OS: Fedora 24 64 bit, budgie desktop
LO: Version:
Build ID: 8f96e87c890bf8fa77463cd4b640a2312823f3ad
CPU Threads: 2; OS Version: Linux 4.7; UI Render: default; 
Locale: es-CL (es_CL.utf8); Calc: group
Document viewer: Evince 3.20.1

User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 Bastián Díaz 2016-10-28 20:57:56 UTC
Created attachment 128331 [details]
Test files
Comment 2 Buovjaga 2016-11-15 12:29:31 UTC
Repro with document. Okular used to test.

Arch Linux 64-bit, KDE Plasma 5
Build ID: 553cfda502a1516673233e409f91372766da6c4d
CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on November 11th 2016
Comment 3 Julien Nabet 2018-03-15 09:18:47 UTC
*** Bug 116415 has been marked as a duplicate of this bug. ***
Comment 4 Telesto 2018-03-15 15:49:25 UTC
Maybe my PDF reader, but the text hyperlink isn't working either (expect when export by LibO 3.3.0)

Build ID: e5bc7fa4e83b33fc3eee343e560a4f8cb91eacd6
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-14_23:37:38
Locale: nl-NL (nl_NL); Calc: CL

and with 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

and with
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b

but not with
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-
Comment 5 QA Administrators 2019-03-16 03:56:15 UTC Comment hidden (obsolete)
Comment 6 haevalencia 2019-03-20 21:31:59 UTC
I am going to update this report, since the problem continues to manifest itself with some changes.

Using the test documents I obtained the following results using LibreOffice version Flatpak on fedora 29 (use a ODT and DOCX test files)

a.Insert hyperlink method
b.Insert Interaction method
|      | text | shape | gallery | image |
| pdfa |   ✓* |   x   |    x    |   x   |
| pdfb |   x  |   x   |    x    |   x   |
* ODT : Hyperlinks appear available but when selected indicates "no such file or directory"
  DOCX: Hyperlink opens the filemanager

Creating a new document following the instructions I obtained the following results:

a.Insert hyperlink method
b.Insert Interaction method
|  ODT | text | image | gallery | formula | shape | table | fontwork |
| pdfa |   ✓  |   x   |    x    |    x    |   x   |   x   |    x     |
| pdfb |   ✓  |   ✓   |    ✓    |    ✓    |   ✓   |   ✓   |    ✓     |

I didn't perform the tests with the DOCX format, since I realized that the problem is in the export filter (ODT to DOCX) where all the hyperlinks and interactions disappear, so exporting the document in DOCX format to PDF doesn't make any sense (I think it is necessary to open another report for that issue)

In conclusion, there was an improvement from the initial report, but the hyperlinks are not yet exported correctly and I believe from my experience, that this method is more used than adding an interaction to the object in a presentation.

Additional Info:
- LibreOffice Build id 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
- I reset my profile to use the default options when exporting to PDF
- PDF Viewer: Evince 3.32.0
Comment 7 haevalencia 2019-03-20 21:36:19 UTC
Created attachment 150133 [details]
New es
Comment 8 Patrick Testaniere 2020-04-27 12:20:56 UTC
Created attachment 159992 [details]
odp and export pdf files
Comment 9 Patrick Testaniere 2020-04-27 12:22:51 UTC
Created attachment 159993 [details]
The pdf export file
Comment 10 Patrick Testaniere 2020-04-27 12:40:29 UTC
I do a test with exporting an odp in pdf. See files in comment #8 and #9.

The result are :
-interaction like "Goto first, prev, next and last" are active in the pdf, so it work.

-interaction like "Goto page or object, exit presentation" are inactive, so it don't work.

-I put OFF "transition by clicking on background" in odp but it's ON in the pdf.

Patrick (from France).