[Libreoffice-bugs] [Bug 131619] New: The document doesn't try to update its styles

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 27 08:36:17 UTC 2020


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

            Bug ID: 131619
           Summary: The document doesn't try to update its styles
           Product: LibreOffice
           Version: 6.2.7.1 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: james.j.larson.500 at gmail.com

Description:
Here is one of the LibreOffice options: Tools > Options > Load/Save > General >
Save URLs relative to file system.

Most of the time we want this option to be enabled, because it provides us an
opportunity to insert linked images with relative paths instead of absolute
ones.

Typically, we would store the linked images close to the target document - in
such a case, "Save URLs relative to file system" works fine. See below.

```
thesis/
  image_1.png
  image_2.png
  thesis.odt
```

```
thesis/
  images/
    image_1.png
    image_2.png
  thesis.odt
```

The problem with "Save URLs relative to file system" option is that it works
the same way for linked **templates**.

The templates - in contrast with images - are typically stored in the special
"Templates" directory. On Windows, it will be
%AppData%\LibreOffice\4\user\template. They don't "travel" with the document.

Hence, when you have "Save URLs relative to file system" option is enabled, and
then you create a document with a template linked to it, and then you save and
close it, and then you move it to another disk drive (e.g., to the disk D), the
document will stop to notice any changes in the template it is linked to.

Step by step guide:

0. Ensure "Save URLs relative to file system" option is enabled.
1. Create a custom template and save it to
%AppData%\LibreOffice\4\user\template. (It is assuming that this directory is
located on the disk C.)
2. Create a document based on this template. Save it do disk C. Ensure the
template is linked to it.
3. Close it. Move it to disk D.
4. Open the template and make some changes in its styles. Of course, save it
and close it.
5. Open the moved document and notice that there is no prompt to update the
styles.

Steps to Reproduce:
-

Actual Results:
-

Expected Results:
-


Reproducible: Always


User Profile Reset: Yes



Additional Info:
-

-- 
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/20200327/3d3ece93/attachment.htm>


More information about the Libreoffice-bugs mailing list