1. Open Writer, ensure text boundaries are enabled:
Menu bar > View > Text Boundaries = True.
2. Press the Enter button 5 times, return to the 1st line, type 2 or 3 short text lines, select them.
3. Menu bar > Insert > Section.
In the Insert Section window:
3.1. Section name (left column) = Foo
3.2. Click the Insert button to create the section.
Now we are going to create a link to this section, i.e. to create its updatable copy.
4. Return to the last line.
5. Menu bar > Insert > Section.
In the Insert Section window:
5.1 Section name (left column) = Bar
5.2. "Link" checkbox = True
5.3. "Section" drop-down menu (which is located above the Write Protection section) = Foo.
5.4. Click the Insert button to create the link to the Foo section.
Now you have 2 sections. The Foo section works as a source. The Bar section works as its mirror.
Each time you change the Foo section, you can click menu bar > Tools > Update > Links, and the Bar section will be changed accordingly.
You can close and open the document. When you open it, you will see a small window:
The document test.odt contains one or more links to external data.
Would you like to change the document, and update all links to get
the most recent data? [Yes] [No]
A good alternative to manual updating.
However, this window is a bit annoying, isn't it? I think the anser is "yes". There is an option to avoid (i.e. to update links silently), but it doesn't work.
Click menu bar > Tools > Options > LibreOffice Writer > General > Update Links when Loading = Always.
Make some changes in you document, close it, open it. The "small window" is still here.
Notice that "Update Links when Loading = Never" works fine, though.
* * *
Tested with LO 18.104.22.168 and 22.214.171.124.alpha0+.
Version: 126.96.36.199.alpha0+ (x86)
Build ID: f0443fa4438aa98bce48bfd53dc6a687737687b6
CPU threads: 1; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
Steps to Reproduce:
User Profile Reset: Yes
There are some typos in my post.
> However, this window is a bit annoying, isn't it? I think the anser is "yes". > There is an option to avoid (i.e. to update links silently), but it doesn't work.
However, this window is a bit annoying, isn't it? I think the answer is "yes". There is an option to avoid it (i.e. to update links silently), but it doesn't work.
> Make some changes in you document, close it, open it. The "small window" is still here.
Make some changes in your document, close it, open it. The "small window" is still here.
I confirm it with
Version: 188.8.131.52.alpha1 (x64)
Build ID: cc57df8f942f239d29cb575ea5a7cb01405db787
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-US
Hello John, Dieter,
Would it be possible to attach a document for easier reproduction ?
Created attachment 155525 [details]
(In reply to Xisco Faulí from comment #3)
Thank you for interest. Test document is now attached to the initial post.
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.15; Render: default;
but not in
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)
must be bisected with 5.1 repo
Tried on Win, but seems impossible to bibisect: problem is not seen in the last commit of 5.1 repo, but is already in the first commit of 5.2 repo!
Tried git checkout HEAD~100 a couple of times with 5.1 repo starting from master in case it was some "fixed, broken again" type of story, but it kept working.
I recognize that you are searching "back" in time-but this seemed the right place to note that in trying to reproduce this bug in 184.108.40.206.alpha, the link to the "source" file (and its section) is always lost in the mirror file.
1. Insert section (in mirror document), make link to "source" file (and its section). (is loaded just fine).
2. Save "mirror document" (and check that link is still in section).
3. Reload "mirror document" (no query appears about external files)
Result: link (and file name) is gone from the section.
(with all 3 option settings (Always, On request, Never).
Version: 220.127.116.11.alpha0+ (x64)
Build ID: 035c7717c135c66c0ec025500b73ae9c13b7c586
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win;
Locale: da-DK (en_DK); UI-Language: en-US
(7. jan. 2020 build)
Filed bug #129883 recently in relation to write protection and losing links in sections, but now believe that the general problem is that 18.104.22.168.alpha does not preserve "links" in reloaded documents (nothing to do with write protection.)