Bug 103822 - Cross reference breaks when moving the source
Summary: Cross reference breaks when moving the source
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2016-11-10 08:10 UTC by bug.reporter.21
Modified: 2025-11-30 17:55 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
mwe (8.96 KB, application/vnd.oasis.opendocument.text)
2016-11-10 08:10 UTC, bug.reporter.21
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bug.reporter.21 2016-11-10 08:10:25 UTC
Created attachment 128636 [details]
mwe

The attached file reads

Illustration reference 1
Illustration reference 2
Illustration reference 3

Cross reference 2

where the last 2 is a cross ref to the number in the second line.

If you drag the first line, in second or third position, the cross reference is updated accordingly.
The same holds if you drag the third line.
But if you drag the second line to the top then the cross reference simply breaks.

In other more complicated situations, the cross reference may not break completely but become wrong, something like: when dragging to the top, instead of becoming Cross reference 1, it becomes Cross reference 4...
Comment 1 Buovjaga 2016-11-24 07:57:51 UTC
Confirmed.

Win 7 Pro 64-bit Version: 5.3.0.0.alpha1+
Build ID: 172325bedf69bbc162f3c1948264451c90c105a3
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Layout Engine: new; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-11-21_05:26:40
Locale: fi-FI (fi_FI); Calc: group

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 2 QA Administrators 2017-11-25 09:42:46 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2019-12-03 13:54:15 UTC Comment hidden (obsolete)
Comment 4 Christian Pietzsch 2020-03-19 12:42:13 UTC
Can reproduce:
Version: 6.4.1.2 (x64)
Build-ID: 4d224e95b98b138af42a64d84056446d09082932
CPU-Threads: 2; BS: Windows 10.0 Build 18362; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
Comment 5 QA Administrators 2022-03-20 03:30:31 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2025-10-14 03:11:25 UTC Comment hidden (obsolete)
Comment 7 Dieter 2025-11-30 17:47:44 UTC
Still present in

Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded