Files saved as ZCOS are corrupted
Reported by jorge.v
TestFile.zip (26.20 KB, application/x-zip-compressed)
XCOS diagram saved as ZCOS in 5.5.2 and in 6.0.0 (corrupted)
BUG DESCRIPTION:
----------------
Every time I save a ZCOS file it gets corrupted.
I can open old ZCOS files I created with version 5.5.2 but newer ZCOS files saved with version 6.0.0 always open as a blank diagram.
Files saved as XCOS work fine so I suspect there's something wrong with the way files are being compressed.
Looking at the zip content of two ZCOS files that are theoretically the same diagram, one saved with 5.5.2 and one with 6.0.0 it looks like the size of the dictionary.ser file is significantly different (200KB for old version vs 5KB for the new version).
ERROR LOG:
----------
N/A
HOW TO REPRODUCE THE BUG:
-------------------------
It happens every single time I save a file as a ZCOS.
I'm attaching two copies of the same file one saved with 5.5.2 and one with 6.0.0.
OTHER INFORMATION:
------------------
I tried removing and installing version 6.0.0 with no luck.