Bug 87739

Summary: FILEOPEN : XLSX - formulas linked to other sheets are not refreshed when opening file (hard recalc needed)
Product: LibreOffice Reporter: dpierret
Component: SpreadsheetAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: raal
Version: 4.3.5.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: files 1.xlsx and 2.xlsx

Description dpierret 2014-12-26 11:11:31 UTC
Created attachment 111364 [details]
files 1.xlsx and 2.xlsx

Problem description:  formulas linked to other XlSX sheets are not refreshed when opening the file

Steps to reproduce:
1. create a new file in Excel 2013 format : c:\C:\Temp\LibreOffice\1.xlsx 
2. add a value in cell A1 (sample value : 10) of file 1.xlsx and save the file
3. create a second file in Excel 2013 format : c:\C:\Temp\LibreOffice\2.xlsx 
4. in cell A1 of file 2.xlsx, set value equal content of cell A1 of file 1.xlsx and save the file file 2.xlsx. Cell A1 contains formula : ='file:///C:/Temp/LibreOffice/1.xlsx'#$Sheet1.A1 . In this case, the cell shows the value 10
5. open file 1.xlsx, change the content of cell A1 from 10 to 15 and save the file.
6. open file 2.xlsx. LibreOffice notifies that the spreasheet has cells with link to other spreadsheet(s). Select YES to get the cell content updated. In this LibreOffice version, the cell A1 in file 2.xlsx is not refreshed as expected. It still shows the value 10 but it should display the value 15.


Current behavior: formulas linked to other sheets are not refreshed => the cell shows the old value : 10 

Expected behavior: formulas linked to other sheets are refreshed => the cell shows the new value : 15
Comment 1 MM 2014-12-26 12:42:28 UTC
Unconfirmed with V4.3.5.2 on windows 7 x64
Unconfirmed with V4.3.5.2 on mint 17.1 x64

Even opening the 2 files together, changing the value in file 1 and without saving making a hard-update with CTRL-Shift-F9 works.
Comment 2 raal 2014-12-28 18:31:47 UTC
I can confirm with Version: 4.5.0.0.alpha0+
Build ID: 57626f2132f73e4e42b31e364b25c5867336e718
TinderBox: Win-x86@42, Branch:master, Time: 2014-12-26_09:26:33

Hard recalc ctrl+shift+f9 needed

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.