Bug 113767 - Autoupdate of reference does not autoupdate
Summary: Autoupdate of reference does not autoupdate
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2017-11-10 18:41 UTC by Ole Tange
Modified: 2022-11-15 23:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Reference does not auto update until activated (8.70 KB, application/vnd.oasis.opendocument.text)
2018-02-14 16:44 UTC, Ole Tange
Details
Document for simpler reproduction (15.07 KB, application/vnd.oasis.opendocument.text)
2022-11-15 22:59 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2017-11-10 18:41:32 UTC
Description:
Autoupdate of references requires you to change the paragraph before it autoupdates.


Steps to Reproduce:
1. New text document
2. Enter foo
3. CTRL-F2
4. Set reference
5. Name: myname
6. Insert
7. Close
8. Press left arrow, enter, enter
9. CTRL-F2
10. Insert Reference > Reference > myname
11. Insert
12. Edit first the first Foo into Bar

Actual Results:  
The second Foo remains Foo

Expected Results:
The second Foo changed into Bar


Reproducible: Always


User Profile Reset: No



Additional Info:
This is already set:

Options > LibreOffice Writer > General > Automatically Update > Fields = true

The second Foo changes automatically when you edit that paragraph.

[Information automatically included from LibreOffice]
Locale: da
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Comment 1 Buovjaga 2017-11-15 14:31:59 UTC
I'm sorry, with your steps I do not get a second Foo. Could you please attach a document with step 8 completed?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 Ole Tange 2018-02-14 16:44:33 UTC
Created attachment 139911 [details]
Reference does not auto update until activated

See demonstration on https://youtu.be/qu_DMEoQyTg

Version: 6.0.1.1 (x64)
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
Comment 3 Buovjaga 2018-02-14 18:17:09 UTC
(In reply to Ole Tange from comment #2)
> Created attachment 139911 [details]
> Reference does not auto update until activated

Ok, confirmed with file. I have to type something always after the second field when I have typed something in the first field to change it.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 338c1e5ee13ea1435149e04dd61fa19ff476f2a8
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on February 14th 2018

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 4 QA Administrators 2019-02-15 03:46:56 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-02-15 04:07:37 UTC Comment hidden (obsolete)
Comment 6 Eyal Rozenberg 2022-11-15 22:55:06 UTC
I don't understand how this issue hasn't gotten more traction :-(

This bug is quite visible when you have a reference and the referred-to entity visible at once: You change one, the other doesn't change (assuming it's not a reference by page number etc.)
Comment 7 Eyal Rozenberg 2022-11-15 22:59:42 UTC
Created attachment 183617 [details]
Document for simpler reproduction

Reproduction instructions: Change the heading paragraph's numbering style to have some character after the number - and the reference to it doesn't get updated.

The document also conveniently contains the reproduction instructions :-)