Bug 88106 - FILESAVE: xlsx file size increased a lot after save
Summary: FILESAVE: xlsx file size increased a lot after save
Status: RESOLVED DUPLICATE of bug 87618
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-06 12:24 UTC by jan
Modified: 2016-09-23 13:22 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jan 2015-01-06 12:24:03 UTC
Opening 118,8kB xlsx file and saving it without modificating will increase its size to 2,1MB. Saving the same file to ods produces 108kB file. Ubuntu 14.04.1 with LO 4.3.5.2 installed from LO 4.3 PPA. Previous version 4.3.4.x didn't have this bug (update applied 23/12/2014).
Comment 1 jan 2015-01-06 12:33:38 UTC
The file in question is shared with colleagues (MSO 2010 of course) so it has to be in xlsx. I use 4.3 from PPA instead of stock 4.2 in my Ubuntu due to fixed bug I reported (https://bugs.freedesktop.org/show_bug.cgi?id=81080) and also one bug I didn't have time to report but is fixed in 4.3 too.
Comment 2 jan 2015-01-06 12:56:25 UTC
I just found I modified one other xlsx file after the last update and that file is not affected. When I looked at whats different I found that some rows and columns have background colour and the colouring goes to the end of those rows/columns (way beyond the data). I copied one such sheet into a new file, saved it (768kB) and then deleted content of cells after/bellow data and erased formating too. After saving the size decreased to 53kB!

So the culprit may lie in bad formating practice, however the previous version 4.3.4 was fine about this and also ods version is handled properly in the new version 4.3.5.2 too. So I think it's still a bug (or enforcement from LO to teach us proper formating practices?).
Comment 3 QA Administrators 2016-01-17 20:03:37 UTC Comment hidden (obsolete)
Comment 4 Bartosz 2016-06-17 22:29:02 UTC
Could you please attach xlsx file which cause such issue.
I would like to investigate that issue.
Comment 5 Bartosz 2016-06-19 16:25:14 UTC
I think this bug is duplicate of the:
https://bugs.documentfoundation.org/show_bug.cgi?id=100283

The question is still valid:
How we could decrease xlsx file size?

@jan Could you please provide sample file (xlsx)?
Comment 6 Bartosz 2016-09-23 13:22:34 UTC
The

*** This bug has been marked as a duplicate of bug 87618 ***