Bug 159924 - PDF export: Hyperlink name as tooltip
Summary: PDF export: Hyperlink name as tooltip
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Tibor Nagy
URL:
Whiteboard: target:25.2.0 target:24.8.0.0.beta2
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2024-02-27 11:23 UTC by Gabor Kelemen (allotropia)
Modified: 2024-06-25 08:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
attachment 192779 saved as PDF (34.47 KB, application/pdf)
2024-02-27 11:23 UTC, Gabor Kelemen (allotropia)
Details
How it looks in Acrobat Reader (45.75 KB, image/png)
2024-02-27 11:24 UTC, Gabor Kelemen (allotropia)
Details
Example file from Word 2019 as reference (11.49 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-06-14 10:23 UTC, Gabor Kelemen (allotropia)
Details
The docx exported as PDF from Word2019 (33.79 KB, application/pdf)
2024-06-14 10:24 UTC, Gabor Kelemen (allotropia)
Details
How the Word-exported PDF looks in Acrobat Reader (12.19 KB, image/png)
2024-06-14 10:27 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-02-27 11:23:54 UTC
Created attachment 192821 [details]
attachment 192779 [details] saved as PDF

This is related to bug 159899

If there is a Name attribute set for a hyperlink, its text is not exported to PDF as tooltip.

1. Open attachment 192779 [details] from bug 159899
2. Save as PDF
3. Open it in a PDF viewer
-> the hyperlink name as seen on attachment 192780 [details] is not appearing as a tooltip of the link, only the link target.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74185b8edf7f046a3372319da86a1d8ca0024c87
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default
Comment 1 Gabor Kelemen (allotropia) 2024-02-27 11:24:16 UTC
Created attachment 192822 [details]
How it looks in Acrobat Reader
Comment 2 Stéphane Guillou (stragu) 2024-03-14 06:49:14 UTC
Reproduced.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f42363c51672a5b3685b0b9b11e932680530dce3
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 3 Gabor Kelemen (allotropia) 2024-06-14 10:23:39 UTC
Created attachment 194730 [details]
Example file from Word 2019 as reference
Comment 4 Gabor Kelemen (allotropia) 2024-06-14 10:24:17 UTC
Created attachment 194731 [details]
The docx exported as PDF from Word2019
Comment 5 Gabor Kelemen (allotropia) 2024-06-14 10:27:37 UTC
Created attachment 194732 [details]
How the Word-exported PDF looks in Acrobat Reader

For reference, this is how it looks in Acrobat reader.
Comment 6 Commit Notification 2024-06-17 13:35:43 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a3ac49ebe78b7fc164dbc766492faee084bad254

tdf#159924 sw: fix hyperlink name export to PDF

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2024-06-17 15:28:01 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

https://git.libreoffice.org/core/commit/cec3159446794b0a536c475fe00b33508bb7982b

tdf#159924 sw: fix hyperlink name export to PDF

It will be available in 24.8.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.