Bug 146948 - Writer: cross-reference to list number inserts extra dot
Summary: Writer: cross-reference to list number inserts extra dot
Status: RESOLVED DUPLICATE of bug 144563
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.2 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Vasily Melenchuk (CIB)
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-01-23 22:51 UTC by ThomasU
Modified: 2022-03-13 07:11 UTC (History)
2 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 ThomasU 2022-01-23 22:51:22 UTC
Description:



Steps to Reproduce:
Type for example:
aaa
bbb
ccc
Then you convert that into a numbered list. It becomes
1. aaa
2. bbb
3. ccc
Say you want the third item to cross reference to the first item.
You go to the Insert menu, select "Cross-reference", select Type "Numbered Paragraphs", Insert reference to "Number" then select item 1. aaa in the dialog.



Actual Results:
And then what do you see written in your third item?
3. ccc 1.  <--- That dot at the end should not be there


Expected Results:
If you repeat that exercise in LO 6.4.7.2 you won't get that extra dot at the end:
3. ccc 1   <--- Nice and clean!


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Checked in 7.3.1.0.0 and 7.2.1.2
Using Ubuntu Mate
Comment 1 raal 2022-01-24 16:12:06 UTC
I can confirm with Version: 7.3.1.0.0+ / LibreOffice Community
Build ID: 0b6ae07240e79738d88fe61676f814044cf71c7c
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 2 raal 2022-01-24 16:20:28 UTC
This seems to have begun at the below commit.
Adding Cc: to 	Vasily Melenchuk ; Could you possibly take a look at this one? Maybe this change is intended.
Thanks
 d791b6a5e052b463f302ca62f03e364668a87018 is the first bad commit
commit d791b6a5e052b463f302ca62f03e364668a87018
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Tue Jun 29 02:01:47 2021 +0200

    source aa5c6d127559912ad60a63fbd972b78fb8f9691b

https://git.libreoffice.org/core/+/aa5c6d127559912ad60a63fbd972b78fb8f9691b
 new ODF numbered list parameter loext:num-list-format
Comment 3 Vasily Melenchuk (CIB) 2022-03-13 07:11:17 UTC
Problem already fixed as tdf#144563.

*** This bug has been marked as a duplicate of bug 144563 ***