Files saved as ZCOS are corrupted and comments are lost
Reported by Eric
BUG DESCRIPTION:
----------------
Opening a file from 5.5.1 or 5.5.2 opens it correctly except for the comments attached to any block.
ERROR LOG:
----------
None
HOW TO REPRODUCE THE BUG:
-------------------------
For example we have a 283 Ko zcos file from 5.5.1
Once opened in 6.0.0, all comments are not displayed.
Block "Product" has a strange symbol.
Once saved as zcos, the file is only 99 Ko. It will open as a blank diagram. After adding a block, save, reopen, some of the old blocks are back (10%).
We saved the same file as a xcos file with version 6.0.0. Saving process took 1 hour. File size is 2876 ko.
We saved the same file as a xcos file with version 5.5.1. Saving process took only 10 seconds. File size was 17 500 Ko.
Open 17500 ko xcos file with version 6.0.0. Same problem, comments are lost.
Once saved as xcos, the file is now only 3 600 Ko. Saving process took several minutes.
Once opened the file is nice, without comments.
Saved as zcos. File size is now 99 Ko, and will open as a blank diagram.
OTHER INFORMATION:
------------------
Please keep me informed which version we should use for correct operation.