[Libreoffice-bugs] [Bug 129790] LibreOffice Writer saves RTF documents with enormous file size (1000 times bigger)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 6 14:44:51 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=129790
Sebastien <mail at sebastienlarocque.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #4 from Sebastien <mail at sebastienlarocque.com> ---
Finally, I have been able to reproduce the bug from one the file that I had. I
had a hard time to reproduce it. There is no way that I can tell you how to
reproduce it from scratch. The only way so far for me is to download the test
file “TestFile01 - F.rtf” that I attached with this report and to follow the
steps below like I did.
- The file “TestFile01 - F.rtf” has 1,477 KB.
- I open the file with Writer (I double-click on the file).
- I do Ctrl + S to save without adding any content.
- I close Writer.
- The new file size is now 2,980 KB.
- I do the same steps again.
- The new file size is now 6,014 KB.
It keeps growing every time I open the file and save it.
I cannot tell if this is related to a specific character or what. I have the
feeling that Writer introduces invisible stuff from time to time. Writer has
the frustrating habit of reformatting things automatically.
The test file is about half a page of text and has 49 lines when I open it with
Notepad++. I noticed the line 43 has many sub-lines like:
__UnoMark__125_1522762609266444}{\*\bkmkstart
__UnoMark__125_1522762609212232444}{\*\bkmkstart
__UnoMark__125_1522762609212242444}{\*\bkmkstart
__UnoMark__125_15227626092613444}{\*\bkmkstart”
I cannot tell what this is. Every time I saved the file, the line 43 grew up
with this kind of thing. I believe the problem is there.
If I open the file with Wordpad and then save. The problem disappears and I’m
not able to reproduce the bug. The line 43 with all the garbage disappears. As
mentioned, please, use my test file. Otherwise, the hard part with this bug was
to introduce the garbage in the file. This bug has been recurring for years for
me. I noticed the problem from time to time and the behavior was somehow
random.
Let me know if I can test something else.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200106/8d391b99/attachment.htm>
More information about the Libreoffice-bugs
mailing list