Bug 128173

Summary: Calc asks if I want to save a document when closing it although there was no change if an indirect function and a chart is used in the spreadsheet
Product: LibreOffice Reporter: snowboard975 <snowboard975>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ilmari.lauhakangas, xiscofauli
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=131932
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 116625    
Attachments: An ods file with the problem of asking to save when closing it

Description snowboard975 2019-10-16 09:50:20 UTC
Created attachment 155034 [details]
An ods file with the problem of asking to save when closing it

Problem: Libreoffice calc asks to save a file although there is no change
Condition: an indirect function is used and a chart is inserted that refers to the cell with the indirection function.

How to check this symptom:
1. Insert below formula at cell A1
   =indirect("A2")
2. Select the cell A1 and insert a chart icon on the menu bar and click finish.
3. Save the file to any name and exit
4. Open the file and close it without changing anything
5. Then it asks if I want to save the document.

Please refer to the attachment as an example file to check this symptom.
Thank you.
Comment 1 Xisco FaulĂ­ 2019-10-16 12:25:50 UTC
Reproduced in

Version: 6.4.0.0.alpha0+
Build ID: e2d82611088677f8ec9f038639567f2d7c699b5e
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

and

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 QA Administrators 2022-08-14 04:11:13 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2023-10-16 16:49:32 UTC
Not reproduced anymore. Quick test tells me this got fixed in 7.1.