Bug 148132 - Paragraph numbering bold inverted for 2nd and 3rd level
Summary: Paragraph numbering bold inverted for 2nd and 3rd level
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium minor
Assignee: Vasily Melenchuk (CIB)
URL:
Whiteboard: target:7.4.0 target:7.3.5
Keywords: bibisected, bisected, filter:docx, regression
: 148048 148050 (view as bug list)
Depends on:
Blocks: DOCX-Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2022-03-22 07:49 UTC by softdev1029
Modified: 2023-05-05 16:16 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
The original document with the correct paragraph numbering boldness (15.97 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-03-22 07:51 UTC, softdev1029
Details
The document in Word 2013 and current Writer (210.93 KB, image/png)
2022-05-20 07:11 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description softdev1029 2022-03-22 07:49:33 UTC
Description:
LibreOffice updates the original paragraph numbering to be bold/unbold.
This doesn't match the format of the original document. 

I tested the below versions.
- the latest develop build - 7.3.3.dev
- the latest official release - 7.3.1.3
- the default version of Ubuntu 20.4 - 6.4.7.2

It happens on all above versions.

Steps to Reproduce:
1. Open the document
2. Check the boldness of the paragraph numbering

Actual Results:
LibreOffice updates the original paragraph numbering to be bold/unbold.
This doesn't match the format of the original document. 

Expected Results:
The paragraph numbering boldness should not be changed.


Reproducible: Always


User Profile Reset: No



Additional Info:
I tested the below versions.
- the latest develop build - 7.3.3.dev
- the latest official release - 7.3.1.3
- the default version of Ubuntu 20.4 - 6.4.7.2

It happens on all above versions.
Comment 1 softdev1029 2022-03-22 07:51:29 UTC
Created attachment 179024 [details]
The original document with the correct paragraph numbering boldness

I tested this `VTest document.docx`.
When I open it in the below versions, the paragraph numbering boldness is changed unexpectedly.

- the latest develop build - 7.3.3.dev
- the latest official release - 7.3.1.3
- the default version of Ubuntu 20.4 - 6.4.7.2

It happens on all above versions.
Comment 2 Timur 2022-03-23 11:55:58 UTC Comment hidden (obsolete)
Comment 3 Timur 2022-03-23 12:48:04 UTC
No repro 3.6 onmaster, it was 1, 1.1 and (a) with proper bold. 
Then in 4.0 very wrong with no content and finally wrong: 1, 1 and 1. 
Then from 4.1 max up to 7.4+ numbering OK but bold wrong in 2nd and 3rd level.

1st change OK>no content, small range:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=5695aea3bbe719881177b35c805920bee608751b..13cb9d9d1ac672d6ef22cee98237b0285e03cda3

2ng change, no content to wrong numbering, not large range but not obvious:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=b0f170d7df9cff12535d2ecfd146b32b745a8ef8..06f20d73da21342046a480a6b22af69901351328

Last change in 4.1, numbering OK but bold wrong, single commit, not found in BZ:
commit cad0a4630351bdf53f80fc57a76ce072cd37b5ce 
Date:   Fri Sep 18 2015 +0800
    source-hash-40a5d22fd4117f8e3ad6807264fb448f4d9959aa
    Author:     Jian Fang Zhang <zhangjf@apache.org>
    Commit:     Xisco Fauli <anistenis@gmail.com>
        Related: #i119657#, importing docx, add code to handle the problem...
        that an AbstracNum references to a style, which references to another Num
        Found by: xiao ting xiao
        Patch by: Jinlong Wu,wujinlong@gmail.com
       (cherry picked from commit d6870e145cc7373a422b414c31380cc1399e64cc)
   prev source-hash-de00b8bb67b7453b45e081fe602782803eab1349
Comment 4 Commit Notification 2022-05-19 09:59:34 UTC
Vasily Melenchuk committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/02f53bd61222d7999b847a22fd24d65195f129e5

tdf#148132: Revert "n#758883 dmapper: paragraph-level..."

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2022-05-19 15:09:12 UTC
Vasily Melenchuk committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/a309c671b5f7ac536d7624a2bbc95e23f19bb42d

tdf#148132: Revert "n#758883 dmapper: paragraph-level..."

It will be available in 7.3.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Gabor Kelemen (allotropia) 2022-05-20 07:11:29 UTC
Created attachment 180240 [details]
The document in Word 2013 and current Writer

Fixed in

Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 09822cf77cdbe32b03553cd05154100b5f2591d0
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded
Comment 7 Gabor Kelemen (allotropia) 2023-01-03 15:39:17 UTC
*** Bug 148048 has been marked as a duplicate of this bug. ***
Comment 8 Gabor Kelemen (allotropia) 2023-01-03 15:39:43 UTC
*** Bug 148050 has been marked as a duplicate of this bug. ***