https://bugs.documentfoundation.org/show_bug.cgi?id=92036
Bug ID: 92036
Summary: Writer infinite spelling loop ...
Product: LibreOffice
Version: 5.0.0.0.beta1
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
This bug is verified in 4.3 eg. just break in
#0 SwTxtFrm::_AutoSpell (this=this@entry=0x7fffd8066000, pActNode=<optimized
out>, rViewOpt=..., nActPos=8) at
/data/opt/libreoffice/cp-4.3/sw/source/core/txtnode/txtedt.cxx:1388
and type: "testtest" into writer ... but it happens much less frequently since
the spell-checking timeout is much slower.
Essentially it seems we (incorrectly?) fail to mark the relevant node's
"wrongdirty" flag - as we set it wrong:
pNode->SetWrongDirty( COMPLETE_STRING !=
pNode->GetWrong()->GetBeginInv() );
So we get this idle handler continuously called.
The slight down-side of this is that since we fixed the idle stack to actually
execute idle handlers at top tilt - this now consumes 100% CPU time (not making
progress) - and also blocks incoming UNO callers.
--
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