Bug 103454 - Relative hyperlink is not exported in SVG
Summary: Relative hyperlink is not exported in SVG
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.1.5.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink SVG-Save
  Show dependency treegraph
 
Reported: 2016-10-24 09:20 UTC by loic.machado
Modified: 2022-03-26 03:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
steps to reproduce with ODG and SVG files of example (309.84 KB, application/x-zip)
2016-10-24 09:30 UTC, loic.machado
Details

Note You need to log in before you can comment on or make changes to this bug.
Description loic.machado 2016-10-24 09:20:24 UTC
Description:
In Draw, I draw a schema with a Rectangle Box and Text in it.
On text I add a document link.
The hyperlink's value is set to a relative path
Then I export the schema to a SVG file.
The SVG file contains no link.


Steps to Reproduce:
1.Draw a Rectangle
2.Edit text of this rectangle
3.Select the text (I use Ctrl+A)
4.Click on menu Insert > Hyperlink (I use Ctrl+K)
5.Select Document Link
6.In Form, set the hyperlink value to "./insect.html"
7.Click on OK button
8.Click on menu : File > Export
9.Select SVG file type
10.Click on save button

Actual Results:  
1.Open SVG file with a text editor (I use Notepad++)
2.Look for anchor "a" tag
3.See there is no anchor
4.Re-open Hyperlink Dialog on the text
5.See the value of hyperlink is now changed to an absolute path
6.If you re-export to a new SVG file, the hyperlink is present as an absolute path...

Expected Results:
In SVG file, it should have defined the hyperlink to the relative path value.
In Draw, it should not convert the relative path to an absolute path.


Reproducible: Always

User Profile Reset: No

Additional Info:
I wish to use draw to create schemas in an online documentation.
I need to keep relative path in my SVG file because I don't know in advance where it will be placed on server and because it will be easier to maintain.
To me, this bug is related to 103453 because I need the links to be open in the parent frame.


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 loic.machado 2016-10-24 09:30:59 UTC
Created attachment 128200 [details]
steps to reproduce with ODG and SVG files of example
Comment 2 Buovjaga 2016-11-04 18:37:53 UTC
Confirmed.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha1+
Build ID: 6dc8f25ecf676a2e4d1a1018b729fef4096df8e7
CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on October 28th 2016
Comment 3 QA Administrators 2018-08-22 02:38:09 UTC Comment hidden (obsolete)
Comment 4 raal 2020-03-25 22:07:44 UTC
bug still present in Version: 7.0.0.0.alpha0+
Build ID: 5a2c340e00050e21f29ae880593ef4f9ec1ba08d
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: cs-CZ (cs_CZ.UTF-8); UI-Language: en-US
Comment 5 QA Administrators 2022-03-26 03:35:45 UTC
Dear loic.machado,

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

MassPing-UntouchedBug