Bug 80384

Summary: Chart Legend name lost on saving
Product: LibreOffice Reporter: Jaise James <jaise>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: critical CC: jmadero.dev, jorendc, suokunlong
Priority: highest    
Version: 4.2.5.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=76676
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 65675    
Attachments: orginal chart
On reopen first time
On reopen second time
sample document
libreoffice 4.2 chart
libreoffice 4.3 rc3 chart

Description Jaise James 2014-06-23 08:42:01 UTC
Chart Legend lost on saving.

Step to create .

1. In Writer, specify the Legend  using chart data table.

2. Save & reopen one legend is lost.

3. If again save & reopen, next legend also lost.
Comment 1 Jaise James 2014-06-23 08:42:55 UTC
Created attachment 101561 [details]
orginal chart
Comment 2 Jaise James 2014-06-23 08:43:26 UTC
Created attachment 101563 [details]
On reopen first time
Comment 3 Jaise James 2014-06-23 08:43:52 UTC
Created attachment 101564 [details]
On reopen second time
Comment 4 Jaise James 2014-06-23 08:44:23 UTC
Created attachment 101565 [details]
sample document
Comment 5 ign_christian 2014-06-24 02:50:26 UTC
Jaise, please see Bug 76676. Does it appear with 100% transparency?
Comment 6 Kevin Suo 2014-06-24 14:13:13 UTC
I reproduce with version 4.3.0.1 and 4.2.5.2.

Steps to reproduce:
1. Open attachment 101565 [details], double-click the chart so that you can edit it;
2. "Right-click -> Chart Data Table";
3. Input "aaa" and "bbb" for the first and second Y values, respectively.
4. Click somewhere else of the page, then save the file.
5. Reopen.

Current Behaviour:
You only see "aaa" in the legend names. Redo step 2 you will find that legend name for 1st Y value is now empty, while "aaa" has gone to the 2nd Y value.

Set to NEW.
Set version to 4.2.5.2.
Legend name loss = Dataloss. -> Highest Critical.
Comment 7 Jorendc 2014-07-14 11:14:10 UTC
This bug does look like a dupe of bug 79151 to me.

Also as noted on Comment 8 by Kohei: https://bugs.freedesktop.org/show_bug.cgi?id=79151#c8 :

> So, I'm afraid that the test document attached to this bug has already been
> corrupted, which causes the header data to be stored in the wrong place
> internally.

If I create a new sample document using 4.3.0.2 or older (I did test an own build Linux Mint 17 x64 Version: 4.4.0.0.alpha0+ Build ID: 25b18c6fe055035a1d5f835cf178acd55a585811) I can not reproduce the issue anymore.

Kind regards,
Joren

*** This bug has been marked as a duplicate of bug 79151 ***
Comment 8 Jaise James 2014-07-24 07:31:58 UTC
Chart created by Libreoffice old versions not having legends. 

Sample screen shot attached
Comment 9 Jaise James 2014-07-24 07:33:18 UTC
Created attachment 103385 [details]
libreoffice 4.2 chart
Comment 10 Jaise James 2014-07-24 07:33:59 UTC
Created attachment 103386 [details]
libreoffice 4.3 rc3 chart
Comment 11 Jaise James 2014-07-24 07:42:48 UTC
How can I recover the charts saved in old version
Comment 12 Joel Madero 2014-07-28 16:19:02 UTC

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