https://bugs.documentfoundation.org/show_bug.cgi?id=75922
--- Comment #15 from MartinPC <[email protected]> ---
I am confirming the bug in LibreOffice 5.2.4.2 (x64) in Windows 7 Pro x64 SP1
and reporting that it dates back to LibreOffice 3.3.4 (x86), with a minor
change in correction behavior along the way. I also note a fairly significant,
possibly unrelated performance regression.
In 5.2.4.2 (x64), I again spell-checked the following block of five identical
one-sentence paragraphs. The grammar check was disabled and I ran the spell
check both limited to the pre-selected block and on the entire test document
(which contained a few other paragraphs):
Teh the quikc quikc brwon brwon fxo fxo jmps jmps ovre ovre teh teh layz layz
dgo dgo.
Teh the quikc quikc brwon brwon fxo fxo jmps jmps ovre ovre teh teh layz layz
dgo dgo.
Teh the quikc quikc brwon brwon fxo fxo jmps jmps ovre ovre teh teh layz layz
dgo dgo.
Teh the quikc quikc brwon brwon fxo fxo jmps jmps ovre ovre teh teh layz layz
dgo dgo.
Teh the quikc quikc brwon brwon fxo fxo jmps jmps ovre ovre teh teh layz layz
dgo dgo.
I clicked the "Correct All" button for each flagged misspelling and got the
following result on both the selected-block and entire-document spell-check
runs:
The the quick quick brwobrown brown fox fox jmjumps jumps over over tehthe the
lazy lazy dgodog dog. [Four selection/correction failures.]
The the quick quick brown brown fox fox jumps jumps over over the the lazy lazy
dog. dog. [Correct except that a period was incorrectly appended to the first
"dog" instead of just to the second "dog" at the end of the sentence.]
The the quick quick brown brown fox fox jumps jumps over over the the lazy lazy
dog. dog. [Ditto.]
The the quick quick brown brown fox fox jumps jumps over over the the lazy lazy
dog. dog. [Ditto.]
The the quick quick brown brown fox fox jumps jumps over over the the lazy lazy
dog. dog. [Ditto.]
The spell-check dialog took almost 10 seconds to populate each time it was
started. (I have a Core i5 520M laptop with 8GB of RAM and a mechanical HDD. I
was using an empty Standard dictionary, an empty IgnoreAllList, a tiny custom
BugTesting dictionary, the not-very-big Technical dictionary, and the standard
en-UK and en-US dictionaries.) While waiting to populate, the spell-check
dialog was sometimes flagged as "not responding" and sometimes it wasn't.
The first lowercase "teh" was not highlighted in red, but "the" was properly
proposed as a correction. The first lowercase "dgo" was also not highlighted in
red, but "dog" was properly proposed as a correction. The second "dgo" was
improperly highlighted as "dgo.", incorrectly including the period.
After the "Correct All" button was clicked to replace all instances of the
second "dgo"/"dgo."(the last word in the first sentence) with the proposed
"dog", the spell-check dialog always hung for almost 30 seconds before
completing or continuing with the spell check (in both selected-block and
entire-document runs). During the hang, the "dgo." in the first sentence
remained uncorrected on-screen and the spell-check windows was *not* flagged as
"not responding". When the "Correct All" button was clicked a second time
during the hang (as you might do if you weren't sure that the first click had
registered), the spell-check dialog *was* flagged as "not responding".
In 3.3.4 (x86), my "Change All" runs yielded the following:
The the quick quick brwobrown brown fox fox jmjumps jumps over over tehthe the
lazy lazy dgodog dog [The same four selection/correction failures as in
5.2.4.2, no incorrect period at the end of the second-to-last word in the
sentence (the first "dog"), but also no period at the end of the sentence (the
second "dog").]
The the quick quick brown brown fox fox jumps jumps over over the the lazy lazy
dog dog [Correct except for the missing period at the end of the sentence.]
The the quick quick brown brown fox fox jumps jumps over over the the lazy lazy
dog dog [Ditto.]
The the quick quick brown brown fox fox jumps jumps over over the the lazy lazy
dog dog [Ditto.]
The the quick quick brown brown fox fox jumps jumps over over the the lazy lazy
dog dog [Ditto.]
There were no loading delays or processing hangs in 3.3.4's spell-check dialog.
The first lowercase "teh" was not highlighted in red, but "the" was properly
proposed as a change. The first lowercase "dgo" was also not highlighted in
red, but "dog" was properly proposed as a change. The second "dgo" was
improperly highlighted as "dgo.", with the period. So far, except for the hangs
this is the same behavior as in 5.2.4.2. However, whereas 5.2.4.2 put a period
at the end of both "dog"s, 3.3.4 omitted the period from all changed sentences
entirely.
So, I've been able to provide more details with this round of tests, and while
new developments or regressions seem to account for the hangs (which I don't
recall from my previous tests in 4.x), it looks like the core problem was
inherited from 3.3. I'm guessing that at some point someone tried to fix the
missing-period problem but didn't get it quite right.
By the way, best regards to Yousuf "Jay" Philips for having pushed for action
on some of the bugs I've reported, and to contributors from Red Hat (Caolán
McNamara?) for fixing a couple of them. I'm very grateful. Happy new year to
all.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs