Created attachment 182110 [details] screenshot of sentence with error detected by LT 1. Activate LanguageTool under "LanguageTool Server Settings" as described at https://forum.languagetool.org/t/new-libreoffice-7-4-languagetool-remote-grammar-checker/8187/2?u=dnaber 2. Write "This is an test". 3. Right-click the underlined "an" and select "Ignore". The underline will disappear as expected. 4. Edit the sentence and wait 2-3 seconds and the underline will re-appear (maybe press return at the end of the sentence). The behavior is similar for "Ignore All". Expected behavior: The underline should not re-appear. Not sure what the difference between "Ignore" and "Ignore all" should be - if "Ignore all" turns off the rule completely, there's no way to turn it on again, is there?
On pc Debian x86-64 with master sources updated today, I don't reproduce this exactly. Here what I did: - follow 1. Activate LanguageTool under "LanguageTool Server Settings" as described at https://forum.languagetool.org/t/new-libreoffice-7-4-languagetool-remote-grammar-checker/8187/2?u=dnaber - follow 2 Write "This is an test" - Select the whole text + Tools/Language/For All Text/English USA => "an test" are underlined in blue (and not just "an" which is underlined in red) If I right-click, choose "Ignore" and edit again, the blue underline appears again. But if I choose "Ignore All" and edit again, it doesn't reappear.
(In reply to Julien Nabet from comment #1) > => "an test" are underlined in blue > (and not just "an" which is underlined in red) In that case, the error is not coming from LanguageTool. Maybe you still have enabled other checkers, like LightProof?
(In reply to Daniel Naber from comment #2) > (In reply to Julien Nabet from comment #1) > > > => "an test" are underlined in blue > > (and not just "an" which is underlined in red) > > In that case, the error is not coming from LanguageTool. Maybe you still > have enabled other checkers, like LightProof? Indeed, now I can reproduce this exactly. Now since it uses a remote API, I just wonder how "Ignore"/"Ignore" may work? No idea whom to ping here even after checked https://wiki.documentfoundation.org/FindTheExpert
(In reply to Julien Nabet from comment #3) > Indeed, now I can reproduce this exactly. > Now since it uses a remote API, I just wonder how "Ignore"/"Ignore" may work? The API is indeed read-only, so you cannot have a remote dictionary for words. For words, a local dictionary (as LO has anyway) could be used. For rules, a list of rule IDs would have to be stored locally, so that these matches can either be ignored or the `disabledRules` parameter (see https://languagetool.org/http-api/#!/default/post_check) would need to be used.
Gökay Şatır committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7a179efac47776df917b7e8e18f9d91973c485db tdf#150716 - Partially solves the issue. It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.