Bug 152874

Summary: FILEOPEN RTF Paragraph shading from style, overridden by DF is still visible in Writer
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aron.budea, dgp-mail
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=96276
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 113340    
Attachments: Example file from Word 2016
The example file in Word 2016 and Writer
Updated example file

Description Gabor Kelemen (allotropia) 2023-01-04 12:11:23 UTC
Created attachment 184483 [details]
Example file from Word 2016

Attached RTF file contains a paragraph where the style has dark blue shading defined, overridden with direct formatting to "clear" (none) setting.
Opening this file in Writer shows the dark blue shading, ignoring the direct formatting.

1. Open attached file
2. Notice the text has dark blue shading.

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

and all the way back to 3.5, this was never good.
Comment 1 Gabor Kelemen (allotropia) 2023-01-04 12:11:43 UTC
Created attachment 184484 [details]
The example file in Word 2016 and Writer
Comment 2 Dieter 2023-01-24 20:03:39 UTC
I confirm it with

Version: 7.5.0.2 (X86_64) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
Comment 3 Gabor Kelemen (allotropia) 2023-11-28 13:52:58 UTC
Created attachment 191088 [details]
Updated example file
Comment 4 Xisco FaulĂ­ 2023-11-29 13:20:23 UTC
The content of attachment 184483 [details] has been deleted for the following reason:

User's request
Comment 5 Gabor Kelemen (allotropia) 2023-12-01 14:43:58 UTC
This looks good now after the patch of bug #158044

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