Bug 117074 - ODT with svm become bigger in LibreOffice
Summary: ODT with svm become bigger in LibreOffice
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://wiki.documentfoundation.org/R...
Keywords: bibisected, bisected, regression
Depends on:
Reported: 2018-04-17 23:26 UTC by odinatlas
Modified: 2022-08-18 12:30 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:

SVM_in_ODT---LO_5.4.7.1---611KB (611.96 KB, application/vnd.oasis.opendocument.text)
2018-04-17 23:26 UTC, odinatlas
SVM_in_ODT---LO_6.0.3.2---7.03MB.odt (7.04 MB, application/vnd.oasis.opendocument.text)
2018-04-17 23:27 UTC, odinatlas

Note You need to log in before you can comment on or make changes to this bug.
Description odinatlas 2018-04-17 23:26:24 UTC
Created attachment 141434 [details]

ODT with svm become biger in LibreOffice

Size in LibreOffice is 611KB,
But same ODT  in LibreOffice is 7.03MB.
Comment 1 odinatlas 2018-04-17 23:27:00 UTC
Created attachment 141435 [details]
Comment 2 Jacques Guilleron 2018-04-18 17:52:01 UTC
Hi ordinatlas,
I reproduce with
LO Build ID: 8f48d515416608e3a835360314dac7e47fd0b821
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: CL
LO Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: CL
but not with
LO Build ID: 06b618bb6f431d27fd2def25aa19c833e29b61cd
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: CL
Comment 3 Telesto 2018-04-19 11:18:21 UTC
Repro with
Build ID: 9c4eaa7b81a40d97fe49b85272b40bfeaaf44f86
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-04-16_03:31:36
Locale: nl-NL (nl_NL); Calc: CL
Comment 4 Xisco Faulí 2018-04-19 11:22:31 UTC
Hi Samuel, Serge,
Either with AddReplacementImages enabled or disabled, the output size is 7.3 Mbs, 10 times the original file...

I've bisected it and it points me to 3da86d8987db6223b0acc5d8a1b56f7e0c54bbef, althought samuel's analysis in https://bugs.documentfoundation.org/show_bug.cgi?id=115005#c16 points to the real commits causing this...
Comment 5 Samuel Mehrbrodt (allotropia) 2018-04-19 11:56:30 UTC
Interesting, I just tested the document with the AddReplacementImages option OFF, and there were indeed no replacement images in the created file. So the option seems to work.

But the svm file stored seems to be not compressed anymore.
Comment 6 QA Administrators 2019-06-20 02:50:27 UTC Comment hidden (obsolete)
Comment 7 Franklin Weng 2020-08-16 13:15:24 UTC
This problem is still reproducible in 

Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU 執行緒:4; OS:Linux 5.7; UI 算繪:預設; VCL: kf5
Locale: zh-TW (zh_TW.UTF-8); UI:zh-TW
Calc: threaded
Comment 8 QA Administrators 2022-08-17 03:34:02 UTC Comment hidden (obsolete)
Comment 9 Gabor Kelemen (allotropia) 2022-08-18 12:30:42 UTC
Still happens in

Version: / LibreOffice Community
Build ID: f6a0ca0e92e41ad8fea71acdacdc7ec5e775dc59
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded