Bug 156143 - The ODF attribute draw:fill is missing but the color is still shown (pls insert the attribute)
Summary: The ODF attribute draw:fill is missing but the color is still shown (pls inse...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: odf
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 13:36 UTC by Svante Schubert
Modified: 2023-07-03 14:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Red Square (8.83 KB, application/vnd.oasis.opendocument.text)
2023-07-03 13:38 UTC, Svante Schubert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Svante Schubert 2023-07-03 13:36:58 UTC
In the styles.xml of the ODF XML the background color attribute @draw:fill-color is being used as default style for the graphics family - for instance the default fill for all frames, see https://bugs.documentfoundation.org/attachment.cgi?id=120367 (bug 95660).

Its usage can visiualy confirmed by testing the ODT in LO Writer.

Unfortunately, the ODF spec states:
"It is used only if the draw:fill 20.118 attribute has one of the values solid or hatch.", see https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#property-draw_fill-color

But @draw:fill color is misssing, while the color is shown. 

Please add the attribute @draw:fill!
Comment 1 Svante Schubert 2023-07-03 13:38:52 UTC
Created attachment 188181 [details]
Red Square

Added a rectangle and changed background color to red.
The draw:fill attribute is missing while color is shown.