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

            Bug ID: 153948
           Summary: LanguageTool Server: changing language of a paragraph
                    doesn't re-check grammar
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Linguistic
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 185734
  --> https://bugs.documentfoundation.org/attachment.cgi?id=185734&action=edit
A sentence marked with wrong language

Pre-requisites:

1. Configure LibreOffice 7.4+ to use LanguageTool Server (Options->Language
Settings->LanguageTool Server);
2. Disable Hunspell and Lightproof checkers for German (Germany) and English
(USA), the two languages that are used in the test; make sure that LanguageTool
is enabled for them. This is done at Options->Language Settings->Writing Aids,
Available Language Modules section, [ Edit ] button; in the dialog, select the
required language, and configure options;  select another language and repeat.
Close the dialog, apply.

Reproduction:

3. Open the attachment. Make sure that automatic spell check is enabled
(Shift+F7). The sentence is marked German (Germany), so should get underlined
as misspelled; right-clicking the underlined words would show explanations and
suggestions in German.
4. Tools->Language->For All Text->English (USA).

At this point, the spelling should get re-checked, and the spelling marks
disappear. Actually, this doesn't happen. The underlines stay; and this is not
an artifact. Clicking inside the paragraph shows English (USA) in the status
bar, as expected; but right-clicking the "misspelled" words shows the same
German explanations/suggestions.

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

Reply via email to