[Libreoffice-bugs] [Bug 135506] New: Relative paths are shown as absolute paths

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 6 18:07:51 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=135506

            Bug ID: 135506
           Summary: Relative paths are shown as absolute paths
           Product: LibreOffice
           Version: 6.4.5.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: live at hushmail.com

Description:
After reading several bug-reports related to this topic and testing did I found
out that LibreOffice Writer is very capable to handle links relative to the
main file.

If chosen in the options, all links inside the document itself are actually
written as relative paths in the content.xml file inside the zipped document
container.

Also creating several files inside a folder, link them together as relative
links and then move the folder along the file-system does work for me.

However - and that is certainly what most users confuse is that all relative
links are shown as absolute paths inside the UI e.g. under Format > Sections...
or Navigator > Images.

Steps to Reproduce:
1.Make sure Options > Load/Save > General > Save URLs relative to file system
is enabled
2. Create a new folder
3. Create a new document and add images, audio files and text files to the just
created folder
4. Link the images, audio files and text files to the new document
5. Check the links ---> they are shown as absolute paths
6. Close the document and move the folder around the file-system
7. Re-open the document, all content is shown correctly
8. Re-check the links ---> they are updated correctly but still shown as
absolute paths

Actual Results:
Relative linked files are wrongly shown as absolute paths

Creating a relative path inside the path field is not possible

Expected Results:
Relative links should actually shown as relative paths

Users should be able to create relative and absolute paths corresponding the
syntax inside the path field e.g. "C:\User\Documents\Frontpage.odt" and
"Subfolder\Frontpage.odt"


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Bug 86785 already informs about this behaver in later comments.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200806/b02187ab/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list