Bug 48212 - Page background color is lost when file is saved as .doc
Summary: Page background color is lost when file is saved as .doc
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.1 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 12:22 UTC by Marcus Müller
Modified: 2014-08-11 10:07 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
test case of page color (8.84 KB, application/vnd.oasis.opendocument.text)
2012-07-06 04:51 UTC, sasha.libreoffice
Details
previous document, saved as doc using 3.5.4 on Fedora 64 bit (9.50 KB, application/msword)
2012-07-06 04:52 UTC, sasha.libreoffice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Müller 2012-04-02 12:22:59 UTC
When i save a writer document with background color as a ms doc file, the background color is lost when i reopen it.
Comment 1 sasha.libreoffice 2012-06-29 03:29:51 UTC
Thanks for bugreport
reproduced in 3.3.4, 3.5.4, 3.6.beta1 on Fedora 64 bit
We should check if it happens during save to doc or during opening doc file
(I have no Windows computer today for check it)
Comment 2 bfoman (inactive) 2012-07-03 06:01:59 UTC
Checked with:
LO 3.5.4.2 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Could not reproduce. Created a 1 page file filled with background color in 3/4 of a page. Both doc and docx files have background color after reopening (but docx is spanned to 2nd page, while doc is filled in 3/4 of a page, just as in odt).
Comment 3 sasha.libreoffice 2012-07-06 04:51:48 UTC
Created attachment 63884 [details]
test case of page color
Comment 4 sasha.libreoffice 2012-07-06 04:52:40 UTC
Created attachment 63885 [details]
previous document, saved as doc using 3.5.4 on Fedora 64 bit
Comment 5 leighman 2012-10-03 10:35:13 UTC
Confirmed on master e4080dc (1 Oct, 16.50) using sasha's test page.
bfoman, did you use the page background formatting option?
Comment 6 Jorendc 2013-04-05 15:06:15 UTC
I saw a related cherry-pick patch passing by: http://cgit.freedesktop.org/libreoffice/core/commit/?id=7cd378518b38def9cda5a0055a1d7525aad1c427 

Can someone confirm this patch fixed the issue?

Kind regards,
Joren
Comment 7 sasha.libreoffice 2013-04-06 06:11:11 UTC
LO 4.0.2 on Fedora 64 bit:
saves background color into doc, but can not load color from there. M$Word2010 opens it with green color, Writer as white

Not saves to docx, Word opens it as white
Comment 8 Jorendc 2013-05-08 07:59:35 UTC
*** Bug 64348 has been marked as a duplicate of this bug. ***
Comment 9 retired 2013-05-08 08:13:35 UTC
Can't confirm the fix. But can confirm this is still reproducible w LO 4.0.3.1 on OS X 10.8.3.
Comment 10 Jorendc 2013-06-02 11:44:08 UTC
Due the fact .doc and .docx export rely on different code, we have to split this bug up. Thanks to Adam, he create Bug 65257 and sends a patch related to the .docx export :-).
Let's convert this bug report to the .doc side. 

Kind regards,
Joren
Comment 11 Ilse 2014-08-11 10:07:07 UTC
tested in OS X 10.9.4 with LO 4.3.0.4

opened testfile
save as .doc
quit LO
reopen saved doc-file
background color is still there