Bug 108080 - [FILESAVE DOCX] Column Chart doesn't preserve color scheme when changed to Pie chart, and later changed back to Column chart
Summary: [FILESAVE DOCX] Column Chart doesn't preserve color scheme when changed to Pi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
4.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 95048 105956 (view as bug list)
Depends on:
Blocks: OOXML-Chart Pie-and-Donut
  Show dependency treegraph
 
Reported: 2017-05-25 08:20 UTC by Gabor Kelemen (allotropia)
Modified: 2024-10-15 21:06 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from LO 5.3 (20.61 KB, application/vnd.oasis.opendocument.text)
2017-05-25 08:20 UTC, Gabor Kelemen (allotropia)
Details
Example file saved to docx from LO 5.3 (16.32 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-05-25 08:22 UTC, Gabor Kelemen (allotropia)
Details
Docx in Word 2013 and odt in LO 5.3 side by side (126.31 KB, image/png)
2017-05-25 08:22 UTC, Gabor Kelemen (allotropia)
Details
still a preview/editing problem with the proposed patch (75.76 KB, image/png)
2019-03-06 09:10 UTC, László Németh
Details
ODS test file (19.15 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-03-06 09:13 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2017-05-25 08:20:26 UTC
Created attachment 133559 [details]
Example file from LO 5.3

By default the same data series in different data points have the same color. This means that if you have 4 data points with 3 data series each in a chart the “data series 1” columns are all blue, the “data series 2” columns are all orange and the “data series 3” columns are all yellow. This is the default setting for column charts in LibreOffice. 
Now change the type of the chart to Pie chart, save the document as ODT, and then reopen it in LibreOffice. 
Change the chart type back to Column chart, and now the data points have the same color: all data series in “data point 1” are blue, all data series in “data point 2” are orange, all data series in “data point 3” are yellow and all data series in “data point 4” are green. 
Now save the file as a DOCX, reopen the DOCX file, and the colors in the chart are reverted to the original settings: “data series 1” columns are all blue, the “data series 2” columns are all orange and the “data series 3” columns are all yellow.

Steps to reproduce:
1. Create an empty text document in LibreOffice Writer
2. Insert a Chart
3. Change the chart type to Pie chart
4. Save the file as ODT
5. Reopen the file in LibreOffice Writer.
6. Change the chart type back to line chart.
7. Save the file as ODT.
8. Save the file as DOCX.
9. Compare the ODT and the DOCX files.

Actual results:
The colors of the columns are different in the ODT and in the DOCX file.

Expected results:
The colors of the columns should be consistent across the ODT and DOCX files.
Comment 1 Gabor Kelemen (allotropia) 2017-05-25 08:22:23 UTC
Created attachment 133560 [details]
Example file saved to docx from LO 5.3
Comment 2 Gabor Kelemen (allotropia) 2017-05-25 08:22:39 UTC
Created attachment 133561 [details]
Docx in Word 2013 and odt in LO 5.3 side by side
Comment 3 Xisco Faulí 2017-05-25 09:19:26 UTC
Confirmed in

Version: 5.4.0.0.alpha1+
Build ID: 74d2e606fd3605fe0a585f596eaa215ae4e20d18
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: en-US (ca_ES.UTF-8); Calc: group

and

Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3

In previous versions the chart wasn't exported. in banch 4.3 it was exported as
a pie chart.
Comment 4 QA Administrators 2018-05-30 02:38:50 UTC Comment hidden (obsolete)
Comment 5 László Németh 2019-03-06 09:10:26 UTC
Created attachment 149760 [details]
still a preview/editing problem with the proposed patch
Comment 6 László Németh 2019-03-06 09:13:03 UTC
Created attachment 149761 [details]
ODS test file

changing the pie chart type to column shows temporarily the bad colour scheme until clicking outside of the chart, ie. leaving editing of the chart.
Comment 7 Gabor Kelemen (allotropia) 2019-04-16 14:38:41 UTC
*** Bug 105956 has been marked as a duplicate of this bug. ***
Comment 8 Gabor Kelemen (allotropia) 2019-04-16 14:38:58 UTC
*** Bug 95048 has been marked as a duplicate of this bug. ***
Comment 9 QA Administrators 2021-04-16 03:55:57 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2023-04-17 03:20:07 UTC
Dear Gabor Kelemen,

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