1 Start a new, blank Writer document.
2 Enter some text.
3 Set paragraph background to any color.
4 Save as DOCX, close, re-open.
5 Set paragraph background to no color ('No Fill').
6 Save as DOCX, close, re-open.
7 Observe that background HAS reverted from step 5 'No Fill' to step 3 color.
1 DOCX Paragraph background color of 'No Fill' is persisted across saves.
1 Set paragraph background to any color.
2 Save as DOCX, close, re-open.
3 Set paragraph background to another color.
4 Save as DOCX, close, re-open.
5 Observe that background has NOT reverted from step 3 color to step 1 color.
I can confirm that this problem is in 126.96.36.199 (linux 64bit), except that step 7 shows the background color is set to 'white' rather than the step 3 color.
Also I can not reproduce this with ODT format, it seems DOCX specific.
Reproducible with LO 188.8.131.52, Win 8.1
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present on a currently supported version of LibreOffice
(5.1.5 or 5.2.1 https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the version of LibreOffice and
your operating system, and any changes you see in the bug behavior
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave
a short comment that includes your version of LibreOffice and Operating System
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to "inherited from OOo";
4b. If the bug was not present in 3.3 - add "regression" to keyword
Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
CPU threads: 4; OS: Windows 6.19; UI render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2017-04-05_23:32:27
Locale: nl-NL (nl_NL); Calc: CL
Build ID: e8938fd3328e95dcf59dd64e7facd2c7d67c704d
but not with
Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0
The ability to round-trip the background was lost as of LO 4.4 commit 7d9bb549d498d6beed2c4050c402d09643febdfa by Author: Armin Le Grand on
CommitDate: Tue Jul 1 13:30:09 2014 +0200
Related: #i124638# Second step of DrawingLayer FillAttributes...
for Writer objects, now added support for Paragraph and PageStyle (including
Header and Footer) for direct attributes and style attributes
At that point, you can't even SEE that a background color is set, until LO5.0 commit 24077b2d52ab3d0fd0db5afb25d8b94b62386e3e by Author: Miklos Vajna on CommitDate: Sun Feb 1 01:48:38 2015 +0100
writerfilter: import paragraph color as fill attributes
In theory this is to be in sync with the ODF import. In practice the old
UNO property seems not to have a proper fallback to populate the doc
model with the fillattributes, so without this even if the import result
is visible, it would be lost on ODF export.
It looks like FormatFillStyle needs to update the m_pBackgroundAttrList? This total hack worked...
if ( m_pBackgroundAttrList.is() && rFillStyle.GetValue() == drawing::FillStyle_NONE )
m_pBackgroundAttrList = FastSerializerHelper::createAttrList();
m_pBackgroundAttrList->add( FSNS( XML_w, XML_fill ), "auto" );
m_pBackgroundAttrList->add( FSNS( XML_w, XML_val ), "clear" );
I'm going to put this fix on the backburner, so that it can have a full testing period in 6.1. https://gerrit.libreoffice.org/44040
Justin Luth committed a patch related to this issue.
It has been pushed to "master":
tdf#91292 ooxmlexport: cleared fill != use grabbag info
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
A polite ping to Justin Luth: is this bug fixed? if so, could you
please close it as RESOLVED FIXED ? Thanks