Bug 141969 - Bold handling in docx table
Summary: Bold handling in docx table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Character
  Show dependency treegraph
Reported: 2021-04-29 09:37 UTC by rikard
Modified: 2022-09-20 22:42 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

Bold inconsistencies (17.43 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-04-29 09:37 UTC, rikard

Note You need to log in before you can comment on or make changes to this bug.
Description rikard 2021-04-29 09:37:55 UTC
Created attachment 171500 [details]
Bold inconsistencies

Word displays both tables the same way (name as bold, brewery as non bold, italic)
LibreOffice 7.0 displays one as non-bold, other as bold.
LibreOffice 7.1 displays both as bold.

Not sure if its related to ignoring the disabling of bold property <w:b w:val="0">.
Comment 1 Harshita Nag 2021-05-01 11:28:12 UTC
Hello rikard@ngs.hr,
    I can confirm this bug.
    This bug was earlier in and then got rectified in 7.0 and came back in 
    the 7.1 version(I checked).


Build ID: 1:6.0.7-0ubuntu0.18.04.10
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-IN (en_IN); Calc: group


Version: / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 2 rikard 2021-05-01 11:44:05 UTC
Just to be clear. The behavior of 7.0 is also not correct.
If you open this attachment in 7.0 it will show name and brewery of the first table as non bold, while name and brewery of the second table as bold.

The expected behavior is that name is bold and brewery is non bold in both tables.
Comment 3 Timur 2022-09-08 11:28:52 UTC
In 6.4 it was OK (bibi), in 7.0 seem 3 changes (bibb, bibi, bbni) and in 7.1 all bold (bbbb) wrong as in 7.5+.
(b stands for bold, regardless if also italic, i for italic only, n for normal)

1st change bibi>bibb:
commit 2ab481b038b62b1ff576ac4d49d03c1798cd7f84
author	László Németh <nemeth@numbertext.org>	2020-01-08 
tdf#90069 DOCX: fix character style of new table rows

2nd change/fix bibb>bibi
commit abb9c7db8bcc06f907d39a7811711882161d5803	
author	László Németh <nemeth@numbertext.org>	Feb 07 2020 
tdf#130494: DOCX import: limit paragraph-level character property

So it needs more bibisects.
Comment 4 Timur 2022-09-08 11:51:21 UTC
3rd change bibi>bbni - real regression here: 
commit 4d5c0eaf3e0d3d3bcd9e691fffee19b75f3d6631	
author	László Németh <nemeth@numbertext.org>	Feb 17 2020 
tdf#118812 DOCX import: fix table style preference – part 2

4th change bbni>bbbb:
commit bf3124cdf61b40c94ba117a76f1b63dabdfd528e	[log]
author	László Németh <nemeth@numbertext.org>	Wed Aug 19 2020
tdf#135187 DOCX import: fix table style at character formatting

CC László. please see this.