Bug 154370 - FILEOPEN DOCX: bold is a toggle property - one style cancels out another
Summary: FILEOPEN DOCX: bold is a toggle property - one style cancels out another
Status: RESOLVED DUPLICATE of bug 158044
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Paragraph
  Show dependency treegraph
 
Reported: 2023-03-24 17:27 UTC by Gabor Kelemen (allotropia)
Modified: 2024-01-22 11:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
154370_boldToggle.docx: minimal example created in MS Word 2010 (29.72 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-06-02 12:11 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-03-24 17:27:36 UTC
Opening attachment 186193 [details] from bug 154369 you see there are numbered paragraphs where there is one word formatted bold in Word, but the whole paragraph in Writer.

1. Open attachment 186193 [details] 
-> Observe the paragraphs 1 and 3 should have only one or two words bold (muss, muss asdf) but in Writer the whole paragraph is bold.

See screenshot: attachment 186194 [details]

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b5c3a7502f7ff6ccf0f829c1f3a2ba50b8584c41
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: de-DE
Calc: threaded

and bad all the way back to 3.5.
Comment 1 Dieter 2023-04-07 15:39:45 UTC
I confirm it with

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1e9f4de320f67d1218c710bcee1969a2324c6888
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-GB
Calc: CL threaded
Comment 2 Justin L 2023-06-02 12:11:09 UTC
Created attachment 187665 [details]
154370_boldToggle.docx: minimal example created in MS Word 2010
Comment 3 Justin L 2023-06-02 12:13:11 UTC
I'm not sure we really want to fix this. You CAN'T change the style or import, so it would have to change LO internals.
Comment 4 Gabor Kelemen (allotropia) 2024-01-22 11:59:46 UTC
This seems to have been fixed by

https://git.libreoffice.org/core/+/9e127010a86b3521c803ac86c0b5f58dc8e2966b

author	Oliver Specht <oliver.specht@cib.de>	Tue Dec 05 13:28:36 2023 +0100
committer	Thorsten Behrens <thorsten.behrens@allotropia.de>	Tue Dec 19 20:53:12 2023 +0100

tdf#158044 writerfilter: handle toggle properties in import/export

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