Bug 43254 - [EDITING] Impossible to modify the name of a reference once it is created
Summary: [EDITING] Impossible to modify the name of a reference once it is created
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2011-11-26 04:38 UTC by Nicolas Degand
Modified: 2021-09-20 01:51 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Degand 2011-11-26 04:38:53 UTC
In the Insert menu, under the cross-reference item, you can set a reference. However, once you have created it, you cannot modify its name or remove it altogether.

I am writing a document relying heavily on such references (100+), and after creating 10 or 15 of them I realized the system I used for naming them would be confusing. So I changed it for the following ones. But I am stuck with misleading names for the first batch I created unless I edit the XML files.
Comment 1 sasha.libreoffice 2012-04-26 22:38:53 UTC
reproduced in 3.3.4 and 3.5.2 on Fedora 64 bit
Steps to reproduce:
0. Start Writer
1. Insert->Cross reference, type "Set reference",insert some name and click Ok.
Now appears field in text. We want edit this field
2. See on Edit->Fields
Expected: it available and fields can be edited
Actually: it greyed out
Comment 2 sasha.libreoffice 2012-04-26 22:44:16 UTC
We can delete all "Set reference" fields from text by doing so:
Select part text with such references, copy it and paste into the same document. It will pasted without references. Then remove original part of copy-pasted text.

But do not use this workaround if text contains numbered lists or all of them will be corrupted.
Comment 3 QA Administrators 2015-01-05 17:52:33 UTC Comment hidden (obsolete)
Comment 4 Nicolas Degand 2015-01-05 19:23:59 UTC
Bug is still present without any changes

LibreOffice 4.3.5.2 / Windows 7
Comment 5 QA Administrators 2016-01-17 20:05:29 UTC Comment hidden (obsolete)
Comment 6 Nicolas Degand 2016-01-17 21:39:19 UTC
Bug still present (Libreoffice 5.0.4 on Windows 10 64 bits)
Comment 7 QA Administrators 2017-03-06 14:42:35 UTC Comment hidden (obsolete)
Comment 8 Nicolas Degand 2017-03-16 21:44:29 UTC
Bug is still present without any changes

LibreOffice 5.2.6.2/ Windows 10 64 bits
Comment 9 QA Administrators 2018-06-06 02:46:47 UTC Comment hidden (obsolete)
Comment 10 Nicolas Degand 2018-06-06 20:51:45 UTC
Bug still présent in

LibreOffice 6.0.4.2 (x64) on Windows 7
Comment 11 David 2018-07-17 23:04:01 UTC
Libreoffice help (https://help.libreoffice.org/Writer/Modifying_Cross-References) says the following:

1. Click in front of the cross-reference that you want to modify.
   If you cannot see the field shading of the cross-reference, choose View -
   Field Shadings or press Ctrl+F8.
2. Choose Edit - Fields.
3. Set the options that you want, and then click OK.

But this does not work since "Fields" is greyed out.
Comment 12 Abhisek 2018-10-24 16:43:35 UTC
It is surprising to see that this bug is still present in LibreOffice v6.1.2.1!!! This is very important for my work. However I found a workaround from https://superuser.com/questions/1235922/how-to-rename-a-reference. Basically unzip and edit content.xml to search & replace all the occurrences of the reference by the desired name.