Bug 161242 - FILEOPEN DOC Direct formatting is lost on paragraph before table
Summary: FILEOPEN DOC Direct formatting is lost on paragraph before table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: DOC-Paragraph
  Show dependency treegraph
 
Reported: 2024-05-23 16:13 UTC by Gabor Kelemen (allotropia)
Modified: 2024-06-10 03:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file with direct formatted paragraph before a table (35.50 KB, application/msword)
2024-05-23 16:13 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-05-23 16:13:41 UTC
Created attachment 194310 [details]
Example file with direct formatted paragraph before a table

Attached example file has bold direct formatting on the first paragraph, but this is lost if the file is opened in Writer.

1. Open attached document
-> Erledigt word is not bold

If the table is removed in Word, the Erledigt word keeps the bold formatting.

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 1b45ca1aa7d7cb8e7adcc07f8c60e26a413eca8c
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

Seems to have started in 4.4, before it was good:

https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=9416f4e8ab5fe9e1006bf8afd0b9d0ed2655a315..705a8c226aee3e68db492083b7cf8b704335328b

of this range 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=705a8c226aee3e68db492083b7cf8b704335328b 

WW8PLCFMan::AdjustEnds deeply flawed concept wrt change tracking

seems to be the only one that did something in the WW8 filter.
Comment 1 Dieter 2024-06-09 15:23:59 UTC
I confirm it with

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: d2eab48f697a1e6097778158f623f11306ac7a3d
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded