Bug 89239 - CALC creates strange shapes when saving files as *.xlsx and open again (in LibreOffice as well as in MS Excel)
Summary: CALC creates strange shapes when saving files as *.xlsx and open again (in Li...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 22:35 UTC by Frank
Modified: 2016-07-14 13:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
XSLX file showing strange rectangular shapes in all tables (16.59 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2015-02-08 22:35 UTC, Frank
Details
Sample file modified. (15.07 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2015-02-09 23:06 UTC, m_a_riosv
Details
Sample file modified. (15.02 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2015-02-09 23:11 UTC, m_a_riosv
Details
Screenshot of CALC after re-opening the 2nd time after modification (91.53 KB, image/jpeg)
2015-02-10 08:05 UTC, Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank 2015-02-08 22:35:04 UTC
Created attachment 113241 [details]
XSLX file showing strange rectangular shapes in all tables

When using *.xlsx files with CALC, sometimes LibreOffice CALC is creating strange rectangular shapes in all tables.
The attached example file is already reduced down to the problem:
   Each time when storing these files with CALC after any (!) change, the rectangular shapes re-appear, even when removing by either LibreOffice CALC, or MS Excel itself.
If ONLY using MS Excel this effect does not occur.
If ONLY using LibreOffice CALC, OR a combination of CALC/Excel, then the effect is re-produceable with the attached file.
Comment 1 Frank 2015-02-08 22:38:50 UTC
I use LibreOffice 4.3.5.2 release, calc only, German Version on Windows 7 64 bit, and for verifying the bug I used MS Excel 2013 and MS Excel 2010 (both are part of Office Professional).
Comment 2 m_a_riosv 2015-02-09 01:30:11 UTC
Hi Frank, thanks for reporting.

Using the Navigator [F5], I see six drawing objects, a couple in front and the rest in background, deleting them, saving a reopening and I can't see them again. I have not excel to verify in it.

Double click on the object name in navigator to select it.
Comment 3 Frank 2015-02-09 07:16:15 UTC
Hi m.a.,

it is true that when JUST removing the objects and saving, the problem does not reoccur.
You need to edit something more, for example enter some values in a cell...
If I then save (my LibreOffice is automatically storing in *.xlsx format), open it, then, again, I see these drawing objects.
They are always in foreground, in each table I see 2 of them.
(The table was created by myself and I never created any drawings myself in this table...)
As I wrote, I use 4.3.5.2 release (German installation)....maybe you can confirm with that release version?

Thanks,
       Frank
Comment 4 m_a_riosv 2015-02-09 23:06:02 UTC
Created attachment 113269 [details]
Sample file modified.

Hi Frank, after some changes I can't reproduce the problem.

Attached your file after delete the boxes and make some modifications.
Comment 5 m_a_riosv 2015-02-09 23:07:52 UTC
Comment on attachment 113269 [details]
Sample file modified.

Seems broken.
Comment 6 m_a_riosv 2015-02-09 23:11:21 UTC
Created attachment 113270 [details]
Sample file modified.

Attached again.
Comment 7 Frank 2015-02-10 08:05:34 UTC
Created attachment 113280 [details]
Screenshot of CALC after re-opening the 2nd time after modification
Comment 8 Frank 2015-02-10 08:08:50 UTC
Comment on attachment 113280 [details]
Screenshot of CALC after re-opening the 2nd time after modification

I took your modified xlsx file
- opened with Excel, no probs, modified some cells, saved
- opened with CALC, no prob, modified some cells, saved
- closed the file!
- opened again with CALC --> same problem....
Comment 9 Frank 2015-02-10 15:47:50 UTC
Due to other problems I encountered, I now updated the related PC's to LibreOffice 4.4.0.3.

New information now:
- if using CALC only and *.xlsx format file (from previous attachment) the problem cannot be reproduced. That is the good story...but: if then using Excel in the following mix, the problem can be reproduced, even with LibreOffice 4.4.0.3:

- open that changed file with Excel, no problems
- change some cells, save and close
- open with CALC (no matter which version!), no problems
- change some cells, save and close
- open again with CALC ==> same problem occurs!!!

Since we had this problem due to 1 Excel user only, we switched from *.xlsx to *.ods format and we now are fine. The Excel user now is using LibreOffice as well.

Since we are not sure which program has the bug, we may close this bug report.
How can this report be closed?

Thanks again,
     Frank