Bug 108029

Summary: XLSX FILESAVE: The columns of the column chart disappear
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aron.budea
Priority: medium Keywords: filter:xlsx
Version: 5.0.0.5 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=108027
https://bugs.documentfoundation.org/show_bug.cgi?id=108078
Whiteboard: interoperability target:6.2.0 target:6.0.7 target:6.1.1
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 75057    
Attachments: attachment 133480 after save as xlsx in LO 5.3
The saved document reopened in LO 5.3 and Excel 2013 side by side
The original and exported file in Word side by side
Screenshot of the original and exported document side by side in Writer.
The original file exported from current Calc master

Description Gabor Kelemen (allotropia) 2017-05-23 15:37:22 UTC
Created attachment 133484 [details]
attachment 133480 [details] after save as xlsx in LO 5.3

attachment 133480 [details] was made with Excel 2013.

The column chart columns disappears completely after the file is edited and saved in LibreOffice.

Steps to reproduce:
1. Open the original file in LibreOffice
2. Edit an empty cell
3. Save the file as XLSX
4. Open the saved file in Excel 2013

Actual results:
The columns and the text on the horizontal axis disappear

Expected results:
The chart does not change after being saved in LibreOffice.
Comment 1 Gabor Kelemen (allotropia) 2017-05-23 15:39:08 UTC
Created attachment 133485 [details]
The saved document reopened in LO 5.3 and Excel 2013 side by side
Comment 2 Aron Budea 2017-05-23 18:38:36 UTC
Confirmed with LO 5.0.0.5 & 5.3.3.2 / Windows 7.
Note that I don't see text on horizontal axis even when the file is opened.
Comment 3 QA Administrators 2018-05-26 02:42:02 UTC Comment hidden (obsolete)
Comment 4 Gabor Kelemen (allotropia) 2018-09-20 09:14:42 UTC
Created attachment 145056 [details]
The original and exported file in Word side by side
Comment 5 Gabor Kelemen (allotropia) 2018-09-20 09:16:04 UTC
Created attachment 145057 [details]
Screenshot of the original and exported document side by side in Writer.

The columns are now visible in current master, only the horizontal axis labels are not displayed in Writer.
Comment 6 Gabor Kelemen (allotropia) 2018-09-20 09:19:00 UTC
Adjusting bug title.
Comment 7 Gabor Kelemen (allotropia) 2018-09-20 09:42:03 UTC
Created attachment 145058 [details]
The original file exported from current Calc master
Comment 8 Gabor Kelemen (allotropia) 2018-09-20 09:56:27 UTC
The X axis labels are stored this way in chart1.xml: 

<c:strRef><c:f>'[1]3D'!$C$4:$D$4</c:f><c:strCache><c:ptCount val="2"/><c:pt idx="0"><c:v>2016.márc.15. - 2016.máj.20.</c:v></c:pt><c:pt idx="1"><c:v>2016.máj.20-tól</c:v></c:pt></c:strCache></c:strRef>
Comment 9 Gabor Kelemen (allotropia) 2018-09-20 14:24:15 UTC
Restoring bug title. Forgot that the disappearing axis labels has its own report as bug #108027.
Comment 10 Gabor Kelemen (allotropia) 2018-09-20 14:27:40 UTC
I'm not sure when was this fixed, but now the columns appear correctly in the export.
Comment 11 Aron Budea 2018-09-24 03:21:06 UTC
Fixed by the following commit (found using bibisect-win32-6.2), nice job, Balazs.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=051399740e41c6495ed362e78c63e0868bcd180c
author		Balazs Varga <balazs.varga991@gmail.com>	2018-07-23 21:13:09 +0200
committer	Bartosz Kosiorek <gang65@poczta.onet.pl>	2018-07-30 23:53:35 +0200

tdf#108078 OOXML Export Chart shapes area fill properties