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

            Bug ID: 162794
           Summary: Master Document links to sub-documents are broken in a
                    new master document, when copying the set of files to
                    a new directory, in MAC OS.
           Product: LibreOffice
           Version: unspecified
          Hardware: ARM
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
This may may not be a bug but a feature request.  I am not sure, so I am
reporting it here.

Working in MAC OS Sonoma Version 14.6.1 (23G93)

Version: 24.2.5.2 (AARCH64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 8; OS: macOS 14.6.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

I create a master document d1m1.odm in directory d1.  I create subdocuments
d1s1.odt, d1s2.odt, and d1s3.odt in d1.  I import d1s1.odt, d1s2.odt, and
d1s3.odt in master document d1m1.odm.  I save the changes to master document
d1m1.odm in d1.  All good.

I create directory d2.  I copy all contents of directory 1, d1 (d1m1.odm,
d1s1.odt, d1s2.odt, d1s3.odt) to d2.  In directory 2 d2, I open master document
1 d2m1.odm, which has been copied from d1m1.odm.  In d2 the links from the
master document to the subdocument are now broken.

If I do the same procedure in Fedora linux 40, or Ubuntu 24.04 LTS, the links
persist (i.e., are not broken) in the newly copied files.  This leads me to
think it is a bug, rather than a feature request, but I am classifying it as a
feature request.

Steps to Reproduce:
1. I create a master document d1m1.odm in directory d1.
2. I create subdocuments d1s1.odt, d1s2.odt, and d1s3.odt in d1.
3. I import d1s1.odt, d1s2.odt, and d1s3.odt in master document d1m1.odm.
4. I save the changes to master document d1m1.odm in d1.

All good.

5. I create directory d2.

6. I copy all contents of directory 1, d1 (d1m1.odm, d1s1.odt, d1s2.odt,
d1s3.odt) to d2.

7. In directory 2 d2, I open master document 1 d2m1.odm, which has been copied
from d1m1.odm.  In d2 the links from the master document to the subdocuments in
d2 are now broken.



Actual Results:
In directory 2 d2, I open master document 1 d2m1.odm, which has been copied
from d1m1.odm.  In d2 the links from the master document to the subdocuments in
d2 are now broken.

Expected Results:
If I do the same procedure in Fedora linux 40, or Ubuntu 24.04 LTS, the links
persist (i.e., are not broken) in the newly copied files and new directory.

This leads me to think that the software on mac is not recognizing local paths
but may be utilizing absolute paths?

This also leads me to think it may a bug, rather than a feature request, but I
am classifying it as a feature request.


Reproducible: Always


User Profile Reset: No

Additional Info:
I am using the same file permissions in mac os that I am using in Fedora or
Ubuntu.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to