Tried this in Nobara(Fedora) and Debian Linux.
I have a writer document with some external links to images. The file was created as ~/libreoffice/file.odt. The images are in ~/libreoffice/qr/imageX.png. The external links show as source file file://home/user/libreoffice/qr/imageX.png. So far everything is ok.
I moved the writer document (also tried soft/hardlink) to ~/desktop/file.odt. When I open the file it changed also the external links to file://home/user/desktop/qr/imageX.png. It looks like the link is a relative path.
Next I changed in the file in desktop the external link to file://home/user/libreoffice/qr/imageX.png.
I copied the file back to ~/libreoffice/file.odt and the external link is still working.
I copied the file back to ~/desktop/file.odt and the external link is also still working. Now it looks like it is a absolute path!
Is this a bug or a feature? Or am I missing something?
Is a feature.
I think that xml needs the absolute path to show an image, but for portability, LibreOffice translate the real
(relative) path to absolute to xml.
Yo see links as absolutes but they are relatives
The biggest problem arises when the images are on another disk or external device.
Then the links are absolute (not all operating systems manage the devices in the same way)