Bug 107582 - FILESAVE: DOC gradient background is not supported in export
Summary: FILESAVE: DOC gradient background is not supported in export
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC WPS-Support
  Show dependency treegraph
 
Reported: 2017-05-03 10:10 UTC by Xisco Faulí
Modified: 2021-04-09 13:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2017-05-03 10:10:17 UTC
Steps:
1. Open attachment 54240 [details] from bug 43632
2. Save it as a .doc file
3. Open the new created file

Observed behaviour: The background and its border are lost



Reproduced in

Version: 5.4.0.0.alpha0+
Build ID: 597a2f5d5bd37443262b0775b8439bc3502aef1b
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk2; 
Locale: es-ES (ca_ES.UTF-8); Calc: group

and

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e


Before 57450afb768c085df0ba2344aa94b5f843060178, the background was preserved after the roundtrip but not the body, after this commit, the other way around. I wouldn't consider this a regression though.
Comment 1 Shinji Enoki 2017-05-04 09:03:09 UTC
I was reproduced in the following environment.

OS: Debian jessie
Version: 5.3.2.2
Build ID: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
CPU Threads: 4; OS Version: Linux 3.16; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: en-US (ja_JP.utf8); Calc: group

OS: Debian jessie
Version: 5.4.0.0.alpha1+
Build ID: 9632aa6372174a66c5d8789192d264fb335307b5
CPU threads: 4; OS: Linux 3.16; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-05-03_14:37:08
Locale: ja-JP (ja_JP.utf8); Calc: group
Comment 2 QA Administrators 2018-05-08 02:32:44 UTC Comment hidden (obsolete, spam)
Comment 3 Justin L 2018-11-28 08:17:39 UTC
The background is a gradient - which is not attempted to be exported to .doc. That would be an enhancement: sw/source/filter/ww8/ww8atr.cxx FormatFillGradient().

(I don't know why the frame border is lost and I haven't looked into it.)
Comment 4 QA Administrators 2019-11-29 03:45:25 UTC Comment hidden (obsolete)
Comment 5 Xisco Faulí 2019-11-29 10:14:07 UTC
Still reproducible in

Version: 6.5.0.0.alpha0+
Build ID: 63acb8cfa4d66baf48a0fe5cdc9ababb6f981666
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 Justin L 2020-06-11 18:51:45 UTC
The background is implemented as a shape with a gradient fill background. For some reason, the shape didn't seem to survive a roundtrip.

The border is "shape lines", and of course disappeared when the shape was lost.

The entire document is in a frame. An inventive design, but one highly unlikely to do well moving between different formats.
Comment 7 Justin L 2021-04-09 13:44:04 UTC
repro 7.2+