https://bugs.documentfoundation.org/show_bug.cgi?id=171188

--- Comment #5 from Tyco72 <[email protected]> ---
After to have tried everything once again, I have found what causes the
problem.
Time ago I disabled the option for “Random number to improve accuracy of
documents comparison”.

I disabled it a few year ago to reduce the bloating of the xml content of the
documents whit a lot of unwanted <span> tags. You can find the option in:

Tools > Options > Writer > Comparisons
Random number to improve accuracy of documents comparison: Store it when
changing the document.

You can try to disable it and try again on the attached document.

The use of this option has disadvantages on large documents and it creates
problems what you copy and paste a text into an HTML editor, because the
introduced span tags break the text “randomly” in multiple lines. I opened a
bug for it some years ago.

With the enabled option, take a look how the content of the content.xml file
gets fragmented and bloated with <text:span> tags, everywhere you modify a
text:

The displayed text in the .odt file opened in LO is:
“Description:
The steeeeeps about hooooow the boooug is triggered are not clear, but it seems
that when there are already marked typing errors inside of a paragraph, the
spellchecker doesn't mark the next typing errors, until you press the Enter or,
sometime the Canc key. It could be related to the neeeeeeot visible <text:span>
tags, that LibreOffice insert in the document.”

The content of the content.xml file, contained in the .odt file is:

<text:p text:style-name="P2">Description:</text:p>
<text:p text:style-name="P2">
The ste
<text:span text:style-name="T1">eeee</text:span>
ps about ho
<text:span text:style-name="T1">oooo</text:span>
w the b
<text:span text:style-name="T1">ooo</text:span>
ug is triggered are not clear, but it seems that when there are already marked
typing errors inside of a paragraph, the spellchecker doesn't mark the next
typing errors, until you press the Enter or, sometime the Canc key. It could be
related to the n
<text:span text:style-name="T1">eeeeee</text:span>
ot visible <span> tags, that LibreOffice insert in the document.

These <text:span> tags also increase hugely the size and the saving time of
large documents.

I don't know how it works on MS Office and in Thundenbird, but their spell
checkers have not this issue and doesn't create unwanted span tags (at least MS
Office doesn't do it. On Thunderbird I have not deeply investigated).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to