https://bugs.freedesktop.org/show_bug.cgi?id=75817

--- Comment #5 from João Paulo <[email protected]> ---
I can confirm this on LibreOffice 4.2.6.3 build id
3fd416d4c6db7d3204c17ce57a1d70f6e531ee21 running on Windows Vista 64 bits.

I suspected this long ago, LibreOffice just keeps adding automatic styles to
the document, so if we create a new one from an older document, it will inherit
the automatic styles and the document will be bigger and slower to parse.

It is a bug, not a enhancement, as there are people (myself included) which
don't use official templates for creating documents - the template is the last
document of the same type used. Lawyers do that when writing petitions of the
same kind (the facts are changed, but the law it's based remains the same),
judges also do that (the suit report and the judgement is changed, but the law
it's based remains the same). It also happens because, in Brazil, the petitions
don't have a defined form factor, one can use different fonts to make a better
emphasis, many times just a word or two of the sentence (which already had
emphasis) gets another emphasis by changing the body font (bold, italics, both
- I do that), the size (from 12pt to 16pt - I see others doing that), another
font entirely or even the color (from black to red, or orange - God forbid
people from using blinking letters! On a petition! LOL).

It happens a lot when doing evictions, when the consumer doesn't receive what
s/he bought etc. Also people who do write reports do that when changing a
little bit of the style to make the document feel nicer etc, sometimes it's not
the style.

Yes, I know we may change the default styles or even create new ones, but it's
just not possible to always do that because it's a slow process and we need to
be fast when writing, so we just use the formatting tools when is a little bit
change that won't be used again on the document.

At my office, we use the Flat OpenDocument format (.fodt) (better for backing
up, it is much more compressible than the zipped .odt type), but now I see
documents with almost 300Kb that, opened using Notepad++, when the contents of
the "<office:automatic-styles>" node is erased (not the node itself) and saved
as another name, the size gets back to less than 90Kb and the document is still
normally editable without errors.

So the only conclusion is LibreOffice isn't cleaning up its automatic styles,
which is a kind of memory leak. Worse still, a persistent one.

PS: May I change this bug status as confirmed? I am doing that right after
saving this comment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to