Bug 86952

Summary: Calc XLSX save adds unwanted rectangles on each sheet after Excel corrupt file fix
Product: LibreOffice Reporter: miltonh26
Component: CalcAssignee: Bartosz <gang65>
Status: RESOLVED WORKSFORME    
Severity: major CC: gang65, ilmari.lauhakangas
Priority: medium    
Version: 4.3.3.2 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: 4 files - sequenced to reproduce bug

Description miltonh26 2014-12-03 03:24:37 UTC
Created attachment 110384 [details]
4 files - sequenced to reproduce bug

When Calc converts an XLS to XLSX, Excel reports file as corrupted when opened. Allowing Excel to correct the file and then saving it, then reopening it again in Calc and saving again with Calc, Calc adds unwanted rectangles. 

Steps to reproduce:
1. Take XLS created in Excel, open in Calc. File opens OK, no issues. (file - 1 original ok.xls)
2. Convert file to XLSX (file - 2 Calc converted to xlsx.xlsx)
3. Open XLSX in Excel, notice error about file being corrupted. Accept file as trusted and let Excel fix it. (file - 2 Calc converted to xlsx.xlsx)
4. Save file with Excel (file - 3 Excel save after fix.xlsx)
5. Open file in Calc (file - 3 Excel save after fix.xlsx)
6. Save file with Calc (file - 4 Calc save, rects added.xlsx)
7. Reopen with Excel or Calc, notice unwanted rectangles (file - 4 Calc save, rects added.xlsx)
Comment 1 Buovjaga 2015-03-16 18:47:10 UTC
Reproduced the huge rectangles over the content after going through all the steps.

Win 8 32-bit
MSO 2013
LibreOffice Version: 4.5.0.0.alpha0+
Build ID: 460b17d2712a80331a83329d2951f3e0303835cd
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-03-14_23:10:42
Locale: fi_FI
Comment 2 tommy27 2016-04-16 07:27:09 UTC Comment hidden (obsolete)
Comment 3 Bartosz 2016-12-27 01:24:01 UTC
This issue was already resolved with LibreOffice 5.3.
After resaving attached file with LibreOffice 5.3 the problem is not existing.