Bug 126096 - Hyperlink to in-document target adds path when exported to PDF from Draw
Summary: Hyperlink to in-document target adds path when exported to PDF from Draw
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:pdf
Depends on:
Blocks: Hyperlink-Dialog
  Show dependency treegraph
Reported: 2019-06-25 23:46 UTC by lrollins
Modified: 2022-12-22 01:45 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description lrollins 2019-06-25 23:46:11 UTC
This only occurs in Draw:
When a hyperlink target is specified in the current document and is then exported to PDF, the link incorrectly contains the path.

In other components:
The link correctly contains only the local bookmark

Steps to reproduce:
Create a new Draw document
Add at least one additional page
Add an object
Select the object and Insert -> Hyperlink
Select "Document" on the left
Click the button to the right of Target and select a page
Export as PDF

Sanity check:
Do the same in Writer but create a Heading 1 on page 2 for the target
Comment 1 Regina Henschel 2019-06-26 22:17:00 UTC
@lrollins@in-con.com: What settings do you use in the "Links" tab of the PDF options?
Comment 2 lrollins 2019-06-26 23:07:36 UTC
I tried all of the combinations available in the links tab and, while telling it to export URLs relative to the file system changed the link accordingly, none of them removed the path from the link.
Comment 3 Xisco Faulí 2020-01-20 17:22:33 UTC
A new major release of LibreOffice is available since this bug was reported.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 4 lrollins 2020-01-25 20:31:48 UTC
Unfortunately, this issue persists in LibreOffice version 6 (as tested on
Comment 5 QA Administrators 2022-12-20 03:19:47 UTC
Dear lrollins,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team