Bug 128609 - FILESAVE DOCX Solid transparency of gradient filled chart objects not saved
Summary: FILESAVE DOCX Solid transparency of gradient filled chart objects not saved
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Balázs Varga
URL:
Whiteboard: target:6.4.0
Keywords:
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2019-11-05 14:21 UTC by NISZ LibreOffice Team
Modified: 2019-11-05 15:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (86.07 KB, application/vnd.oasis.opendocument.text)
2019-11-05 14:21 UTC, NISZ LibreOffice Team
Details
The original file saved by Writer (84.97 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-11-05 14:24 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported document side by side in Word and Writer (245.66 KB, image/png)
2019-11-05 14:24 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-11-05 14:21:50 UTC
Created attachment 155530 [details]
Example file from Writer

When setting a gradient fill for a chart data series and setting an area transparency value on Data Series – Transparency – Transparency, this value is not exported to docx/OOXML.
In comparison when setting a solid Color or Bitmap fill for the data series, this area transparency value is exported correctly.

Steps to reproduce:
1.	Insert a default chart in Writer
2.	Open Data series window and under Area select a Gradient fill
3.	On the Transparency tab select Transparency and set a value
4.	Save the file as DOCX and reload

Actual results:
The Transparency value is not retained.

Expected results:
The Transparency value is retained.

LibreOffice details:
Version: 6.4.0.0.alpha1+ (x86)
Build ID: f0340d58cc0f2808ce8003099ff2a0495360f267
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2019-11-05 14:24:12 UTC
Created attachment 155531 [details]
The original file saved by Writer
Comment 2 NISZ LibreOffice Team 2019-11-05 14:24:42 UTC
Created attachment 155532 [details]
Screenshot of the original and exported document side by side in Word and Writer
Comment 3 Balázs Varga 2019-11-05 14:34:16 UTC
Confirmed in:

Version: 6.4.0.0.alpha1+ (x64)
Build ID: 1d7a825243f902f79ee0adbcb6498015eaa45e14
CPU threads: 8; OS: Windows 10.0 Build 14393; UI render: GL; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL
Comment 4 Commit Notification 2019-11-05 14:57:09 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ef43ee69a355c0eda49d2f62540fbcf1299a59d2

tdf#108065 tdf#128609 OOXML chart export: fix transparent color gradient

It will be available in 6.4.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.