Created attachment 136763 [details] Example file to illustrate inconsistent ref updating Automatic updating of cross-references behaves inconsistent, depending on content of document. Current behaviour: There's a feature to insert cross-references (fields) in a writer document, together with an option to automatically update such fields. If one creates a cross-reference (as "reference type", meaning that the reference shows a copy of the referenced text), that reference isn't updated automatically if the reference is the sole paragraph content (see example file). Expected behaviour: the reference is updated also if it's the sole paragraph content. Steps to reproduce: - new empty odt file; - enter any text in first paragraph; - select word, menu insert -> fields -> more fields -> Cross-reference -> in the name field, enter a name; in the "type" list, double-click on "Set reference"; close dialog. - add some empty paragraphs after the first paragraph; put cursor in third paragraph; - menu insert -> fields -> more fields -> Cross-reference -> in the "type" list, select "insert reference"; in the "selection" list, select assigned name; in the "Insert reference to" list, select "Reference"; click on insert; click on close; - modify the reference word in first paragraph; reference in third paragraph keeps initial text; - do anything like adding content in third paragraph or insert the reference again in first paragraph; reference in third para will be updated.
(In reply to FS from comment #0) > - do anything like adding content in third paragraph or insert the reference > again in first paragraph; reference in third para will be updated. Repro with document by adding content to the 3rd paragraph. It updated. But I found a duplicate: see comment 6 in bug 76794. Tools - Update - Fields works for your document just like described in bug 76794. I will close. Arch Linux 64-bit, KDE Plasma 5 Version: 6.0.0.0.alpha1+ Build ID: 64024d7c18bd114eb9958cf80eea9129e09923bd CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on November 3rd 2017 Arch Linux 64-bit LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4 *** This bug has been marked as a duplicate of bug 76794 ***