Bug 87756 - Saving embedded chart removes prompt to save spreadsheet
Summary: Saving embedded chart removes prompt to save spreadsheet
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: 4.3.5.2 release
Hardware: Other All
: high major
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-26 23:47 UTC by Todd
Modified: 2014-12-27 04:51 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Todd 2014-12-26 23:47:03 UTC
Hi All,

LibreOffice_4.3.5_Linux_x86-64_rpm.tar.gz

"Major" because I lost data discovering this bug.

Would one of our intrepid heroes please fix this for me?

The expected behavior is that if you attempt to exit a unsaved spreadsheet. LO will prompt you to save.  

If you have been editing a "Chart" from an unsaved spreadsheet and press on the "save" icon, you will save the chart you were working on.  

Unfortunately, LO will also think you saved spreadsheet's data and allow you to exit without saving spreadsheet's data.

To reproduce.

1) new spreadsheet.

2) enter 
     A    B
1    1    2
2    2    3
3    3    4

2) highlight A1..B3 and click on the chart easel icon. press finished

3) click inside the chart

4) (still inside the chart) click the "save" icon and save your new chart

5) (still inside the chart) click the "X" in LO's top upper right decoration.  You will not be prompted to save your spreadsheet's data.  Your data will be lost

Many thanks,
-T
Comment 1 Robinson Tryon (qubit) 2014-12-27 04:51:26 UTC
TESTING with LO 4.4.0.1 + Ubuntu 14.04

(In reply to Todd from comment #0)
> To reproduce.
> 
> 1) new spreadsheet.
> 
> 2) enter 
>      A    B
> 1    1    2
> 2    2    3
> 3    3    4
> 
> 2) highlight A1..B3 and click on the chart easel icon.

(It's a pie-chart icon in LO 4.4.0.1)

>  press finished
> 
> 3) click inside the chart
> 
> 4) (still inside the chart) click the "save" icon and save your new chart
> 
> 5) (still inside the chart) click the "X" in LO's top upper right
> decoration.  You will not be prompted to save your spreadsheet's data.  Your
> data will be lost

NOREPRO: If I click on the 'Chart Data Table' icon, my data is still there.

I think the repro steps should show that *other* data isn't saved.

Example: Add an additional cell to column B:

     A    B
1    1    2
2    2    3
3    3    4
4         5

Then, when we look at the information under the 'Chart Data Table' icon, the value '5' will not appear, and the data is lost.

Status -> NEW


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.