Bug 128617 - FILEOPEN DOCX Gradient colors lost after opening and closing Area settings tab
Summary: FILEOPEN DOCX Gradient colors lost after opening and closing Area settings tab
Status: RESOLVED DUPLICATE of bug 125449
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: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2019-11-06 08:51 UTC by NISZ LibreOffice Team
Modified: 2019-11-06 20:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (16.11 KB, application/binary)
2019-11-06 08:57 UTC, NISZ LibreOffice Team
Details
The original file saved by Writer (13.87 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-11-06 08:58 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported document side by side in Writer after opening the Area dialog (166.61 KB, image/png)
2019-11-06 08:58 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-06 08:51:14 UTC
Description:
Attached document contains a chart with gradient fill set for the first data series. Opening the Area tab and closing it makes the gradient colors reset to black and white.
Does not happen with gradient fill of a shape or with an ODT source file.
Also happens if we change a new charts gradient settings: Angle, Border, From or To colors and press OK. Adding the new settings to the preset list works.


Steps to Reproduce:
1.	Open attached document and start editing the charts first data series
2.	Notice that it has a Yellow to Lime gradient
3.	Close the Area window without changes
OR:
1.	Create a new chart
2.	Set a gradient fill for a data series
3.	Change any of the Center (X / Y), Angle, Border, From, To settings
4.	Press OK -> All settings reset to default 0 / Black / White


Actual Results:
The chart dataseries gradient colors become black and white, Angle becomes 0 degrees and Border becomes 0%.

Expected Results:
Colors remain unchanged.


Reproducible: Always


User Profile Reset: No



Additional Info:
Bibisected using bibisect-win32-5.4 to: 
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=ff1f83dd08b7b0169301ffe0a53499a27af613b9 
author 	Katarina Behrens <Katarina.Behrens@cib.de>	2017-03-31 10:00:40 +0200
committer	Katarina Behrens <Katarina.Behrens@cib.de>	2017-03-31 10:54:34 +0000
summary: tdf#105922: Apply custom gradient/hatch even if not saved as preset
Comment 1 NISZ LibreOffice Team 2019-11-06 08:57:34 UTC
Created attachment 155549 [details]
Example file from Writer
Comment 2 NISZ LibreOffice Team 2019-11-06 08:58:02 UTC
Created attachment 155550 [details]
The original file saved by Writer
Comment 3 NISZ LibreOffice Team 2019-11-06 08:58:21 UTC
Created attachment 155551 [details]
Screenshot of the original and exported document side by side in Writer after opening the Area dialog
Comment 4 NISZ LibreOffice Team 2019-11-06 08:59:22 UTC
LibreOffice details:
Version: 6.4.0.0.alpha1+ (x64)
Build ID: ad0a97ca200328d336a3cd58942f71a824b1f23a
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: GL; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

Also happens in:
Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; 
Locale: hu-HU (hu_HU); Calc: CL

Version: 5.4.0.3
Build ID: 92c2794a7c181ba4c1c5053618179937228ed1fb
CPU threads: 4; OS: Windows 6.2; UI render: default; 
Locale: en-US (hu_HU); Calc: CL

But not in:
Verzió: 5.3.0.3
Build az.: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
CPU threads: 4; Rendszer verziója: Windows 6.2; Felületmegjelenítés: alapértelmezett; Elrendezésmotor:új; 
Locale: hu-HU (hu_HU); Calc: CL
Comment 5 NISZ LibreOffice Team 2019-11-06 08:59:42 UTC
Adding CC to: Katarina Behrens
Comment 6 Gabor Kelemen (allotropia) 2019-11-06 20:40:02 UTC

*** This bug has been marked as a duplicate of bug 125449 ***