Bug Hunting Session
Bug 57461 - false positives in grammar checking (Lightproof–Hunspell synchronization/cache problem)
Summary: false positives in grammar checking (Lightproof–Hunspell synchronization/cach...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:4.0.0
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 16:30 UTC by László Németh
Modified: 2012-11-23 19:34 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description László Németh 2012-11-23 16:30:19 UTC
From Olivier Ronez: “I had a hard time to discover why there were strange false positives in Grammalecte, and the reason is that it seems that the grammar checker begins to work before Hunspell is ready to answer.

At the beginning of checking, when Lightproof/Grammalecte asks to analyze words morphology, Hunspell may answer nothing, and the grammar checker stores in "analyzes" an empty list for several words which exist in the dictionary. This may have no consequences at the moment (it depends what the rules are), but later when the grammar checker ask to analyze these words it still uses the empty result stored in "analyzes" and false positives may occur again.”
Comment 2 Not Assigned 2012-11-23 19:34:00 UTC
Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/dictionaries/commit/?id=3938d334ff4ce612a01b8cc178b0e79782577a62

fdo#57461 fix Lightproof/Hunspell synchronization



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.