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

            Bug ID: 97509
           Summary: Path of inserted linked image breaks after file is
                    moved
           Product: LibreOffice
           Version: 5.0.4.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: s...@workrum.net

At the moment I am using linked images as page headers (which is a workaround
of using header background images), which break when the document is moved.
(File:/// is ommited for clarity)
The following should be sufficient for reproduction:

The document path:
Z:\Documents\Pricelists\pricelist1.ods
The image path (linked):
Z:\Documents\Headers\header.png


The document is then moved from:
Z:\Documents\Pricelists\
To:
Z:\Documents\Pricelists\Export\Partner1\

As the document is reopened, the linked images show the following path (and not
the image of course):
Z:\Documents\Pricelists\Export\Headers\header.png



Checking the source, the document uses "../../Header/header.png" which is fine
and dandy, but it is not displayed in such manner in the program itself.
While displaying absolute paths for the user, the program internally uses
relative paths, which break on file moves.
Either absolute paths should be used or it should be made clear what sort of
pathing is used (or, in best case scenario, make both an option).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to