<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Built-in cross references lose their "reference type" if opened or edited with LibreOffice in different "User Interface" language than originally created"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128159">128159</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Built-in cross references lose their "reference type" if opened or edited with LibreOffice in different "User Interface" language than originally created
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.4.7.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mcdiez+bugzilla@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
This happened when another person reviewed a document I had written, and said
all figures had lost their reference type.
When I created the document in LibreOffice Writer with English user interface,
I had to create a 'custom' number range because the document was in Portuguese,
and I had many figures - so, a number range "Figura" and many cross references
to "Figura". Those cross references use the type "Category and Number" to show,
say, "Figura 1".
At the review, the person reported that "Figura 1" was actually showing just
"1". I reopened the file in my computer, and everything was normal.
So, I tried switching LO user interface to Portuguese, just to see if that
happened. Bingo - no "Figura 1", just "1". I even tried fixing it, modifying
every field in the document, changing any "Illustration" range to "Figura", but
the problem persists if the document is opened in another user interface
language.
Steps to Reproduce:
0. LibreOffice user interface in, e.g., English (USA)
1. New document (or any document with built-in number ranges);
2. Insert caption - use any built-in number range (e.g. "Illustration");
3. Insert cross-reference to captioned item, using style "Category and Number"
(located in "Insert Reference to" dropdown);
4. Save;
5. Change LibreOffice user interface (e.g. Portuguese - Brazilian);
6. Open document saved in step 4;
7. Press space in front of that reference.
Actual Results:
Although the document looks fine when you open it, after you modify anything in
it, the cross-reference category disappears. If there where any other cross-ref
to other built-in styles, all of then disappear.
Expected Results:
No change in cross-references.
Reproducible: Always
User Profile Reset: No
Additional Info:
Built-in style "Figure" doesn't seen to be affected by this bug on version
5.4.7.2 - it is affected in version 6.1.6.3.
Tested in (portable version):
Version: 5.4.7.2
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU threads: 4; OS: Windows 6.2; UI render: GL;
Locale: pt-BR (pt_BR); Calc: group
First noticed in (installed version):
Version: 6.1.6.3 (x64)
Build ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU threads: 4; OS: Windows 10.0; UI render: default;
Locale: pt-BR (pt_BR); Calc: CL</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>