Bug 159768 - Hypertext, relative URL to local files does not work
Summary: Hypertext, relative URL to local files does not work
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-19 01:12 UTC by garrytre
Modified: 2024-02-28 13:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
process notes, comments, screen dumps (150.61 KB, application/vnd.oasis.opendocument.text)
2024-02-19 01:12 UTC, garrytre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description garrytre 2024-02-19 01:12:39 UTC
Created attachment 192628 [details]
process notes, comments, screen dumps

I have a directory /lecture that contains a geology.odt.
I have subdirs /lecture/images    /lecture/videos    etc
I want to use hyperlinks to access eg the images.

I want to be able to put /lecture plus subdirs on a USB stick and move to another computer.

<read carefully, because this references another bug>
But the URL in the hyperlink not only looks the same, it is the same, and so the images are not accessible. (various forums say that even though it looks the same, internally it becomes relative)

Ideally I'd like something like ../images/pic.png, so that wherever the .odt was, it could access the files in the subdirs.
Comment 1 Stéphane Guillou (stragu) 2024-02-28 13:41:26 UTC
Thanks for the report.
Does the second installation of LibreOffice have the same setting in the Options dialog? That might be why the URL does not work.

There is an enhancement request in bug 111957 that would make this area more logical if implemented.

Please also refer to the help page: https://help.libreoffice.org/24.2/en-US/text/shared/optionen/01010200.html
Indeed, the tooltip always displays an absolute path (a change is requested in bug 128216)

Can you please:
- check the settings of the second installation of LibreOffice, to see if they match
- install a currently supported version of LibreOffice: 7.6 or 24.2 (bugs have been fixed since 7.3)
- if the issue is resolved, let us know if you'd be happy to have this marked as a duplicate of bug 111957