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.
Are you using the Mac App Store version of LibreOffice? I ask because I cannot reproduce this bug with the following non-Mac App Store version: Version: 24.8.1.2 (AARCH64) / LibreOffice Community Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6 CPU threads: 8; OS: macOS 15.0; UI render: Skia/Metal; VCL: osx Locale: en-CA (en_CA.UTF-8); UI: en-US Calc: threaded If you are using the Mac App Store version, I suspect that the problem is that you are encountering the Mac App Store's "security sandbox". Apple only allows Mac App Store applications to open files that have been opened via the Open and Save dialogs or via opening from the Finder or Desktop. So you need to explicitly "give permission" to macOS to allow the LibreOffice Mac App Store installation to open your subdocuments. To do this, go to the Finder and open all of the copied subdocuments in LibreOffice by double-clicking on the subdocuments or by using the File > Open... menu item in LibreOffice. Once you have opened all of the subdocuments, close all of them and then open your copied master document. Does any of the above steps help?
Confirming that my bug submission regarding broken links refers to the mac app store version, and as I have mentioned, this may not necessarily be a bug. On the surface it appeared to me as such. I was not aware that mac "sandboxing" would have the effect I described. Also confirming: (1) I am able to reproduce, with the mac app store version, opening the subdocuments in the copied folder first, then opening the master document in the copied folder, re-establishes the links. (2) with the non-mac app store version, when copying documents into new directories, the links persist between the subdocuments and the master document without needed to do (1). I find (2) to be more helpful in maintaining sub-documents and master-documents managed in this way. My thanks.
*** This bug has been marked as a duplicate of bug 138992 ***
*** This bug has been marked as a duplicate of bug 136736 ***