Apache OpenOffice (AOO) Bugzilla – Issue 114589
Wrong status of the save icon when opening a Calc file
Last modified: 2013-07-07 12:02:49 UTC
When opening some Calc file the save icon in the toolbar is highlighted and without any change when I close this file the message "the document ... has been modified. Do you want to save your changes?" appears. This can be repeated on two computers (with Vista and Windows 7). I can send a copy of this file and another one slightly different that works correctly.
Created attachment 71757 [details] Wrong status of the save icon when opening this Calc file
Created attachment 71758 [details] Difference with the previous file: a different data series in the last sheet and it’s ok!
Hello The explanation seems to me the following : a chart in the workbook defaut.ods (sheet "Q & DN") uses as a source of a data serie a range calculated with a formula : = INDIRECT ("densité_HQ." & ADDRESS (ROW (densité_HQ.A $ 23)-I3; COLUMN (densité_HQ.B $ 24) + H3)) Because of INDIRECT, this is automatically evaluated at the opening, causing the update of the chart and thus the state "is modified" of the workbook. I'm not sure we need to consider this as a bug ... Workaround : disable Tools > Cells contents > AutoCalculate
Hello The evaluation of the INDIRECT function does not change the state "modified" when used in formulas, but only when it is the source of a data series in a chart. Upon reflection, I consider this difference of treatment as a bug : chart does not need to be modified. Best regards
Here are observations which can help: The bug comes from the use of the INDIRECT function together with the use of the results in a graph (joined example : “modif-bad”) - a similar file without the INDIRECT function does not raise problem (joined example “modif-ok1”) The use of results of the INDIRECT function in calculations and others functions does not create the problem (joined example : “modif-ok”).
Created attachment 72807 [details] Various cases showing the relation of the function INDIRECT with the issue
Attachment 71757 [details] opens with save icon on. Rev. 1499775 Win 7