Open attachment 178684 [details] from bug 147811. Open current page style, and change the Area from Color to None. Save (as DOC) and reload. The result is that the page style's area is set to White color again. Not reproducible with a new Writer document. Version: 7.3.1.3 (x64) / LibreOffice Community Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951 CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: CL
I confirm it with Version: 7.3.1.3 (x64) / LibreOffice Community Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL
Already in 4.0.0.3. I assume the problem isn't with the dialog, but with DOC export/import.
Dear Mike Kaganski, 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 with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. 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) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 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: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Works fine with Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 8a6919f39b4b871904a2a4199755ca619aa707e2 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 => RESOLVED WORKSFORME
(In reply to Dieter from comment #4) > Works fine with > > Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community No it doesn't.
IMHO, no bug should be closed as WORKSFORME without a bibisect. Confirmed comment 5: The problem still exists in 25.2's Linux bibisect.
(In reply to Aron Budea from comment #2) > Already in 4.0.0.3. Already in OOo 3.3. (The only two choices are Color or Image. It is set on Color, but the white color block is selected, and not the "No Fill" choice at the top. Changing to "No Fill" is not round-tripped.)
Export is writing RES_BACKGROUND color during SwEscherEx::SwEscherEx, so it must be somewhere within CreateEscher(). This is reproducible with any document as long as there is SOME graphic that needs to be created. (So to create a clean room reproducer, just insert an image into a new document - and on the round-trip you will have a white page style background.) Importing this is handled by ww8par.cxx's wwSectionManager::SetSegmentToPageDesc and that gives the clue about ShapeFlag::Background. In the SwEscherEx CTOR, if (nSecondShapeId) AddShape with ShapeFlag::Background. I THINK what is happening is that this is defining a dummy shape that is used to hold the document background.
Potentially useful history: commit 7cd378518b38def9cda5a0055a1d7525aad1c427 Author: Yong Lin Ma on Tue Jul 10 01:07:14 2012 +0000 Resolves: #i56806# Page (IMAGE) background lost when export to doc format commit 8a8f2a873e2a315aa712ddc09e980971a2b485e9 Author: Rüdiger Timm on Thu Sep 25 06:42:09 2003 +0000 INTEGRATION: CWS killarneyfilterteam13 (1.63.78); FILE MERGED 2003/08/28 12:13:51 cmc 1.63.78.2: #i18247# Implment import and export of background page colours (for free we get some support for background images) and the commit that introduced all this was (yikes) commit 65dc2c7c4c5586f3907a6b047c2ee00f4c4f5aa0 Author: Caolán McNamara on Wed Aug 28 11:15:07 2002 +0000 #i2853# Split escher export into two parts, one of which is capable of writing inline graphics as escher for large space savings in .docs Hmm- the web link of that last commit is incomplete - missing the interesting stuff for this bug. Need to use "git log -p 65dc2c7c4c5586f3907a6b047c2ee00f4c4f5aa0".
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/1f60ba36f4e2fa2785d31200b2a95226920ec298 tdf#147819 doc export: only ShapeFlag::Background if XATTR_FILL It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.