BUG: Spell-checker language falls back to the one in the previous document - with video

In a new document, the spell checker language automatically jumps back to the spell-checker language that was set in the previous document.

Reproduce

  1. Open a new (blank) document.

  2. Set the spell-checker language to “German” for example.

  3. Close the document, you do not need to save it.

  4. Open a new (blank) document

  5. In the new document, set the language to “UK English”, for example.

  6. Type something → the spell checker will immediately jump back to “German”, which was the language set in the previous document.

WORKAROUND

  1. Open a new document
  2. Set the spell-checker language that you want
  3. Close the current document, no need to save it.
  4. Open a new document → your spell-checker language should stay now.

Linux Mint
Linux Mint 6.14.0-33-generic #33~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 17:02:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

ONLYOFFICE
Community version 9.0.4.50 (deb)

Here is a video (3.1 MB, pCloud storage)

Hello @godfatherjohn :wave:

Thank you for reporting this issue and for providing a detailed video — it’s very helpful.

To clarify, when you open a new document and set the spell-checker language (e.g., to “UK English”), does the language still switch back even if you manually change your keyboard/input layout to match the spell-checker language? It seems that the document may be picking up the system keyboard layout rather than the last-used spell-checker language.

This information will help us understand whether the behavior is related to the spell-checker itself or the input method.

If you have any additional steps or observations, please share them. We appreciate your patience :hugs:

Yes, exactly that. I am changing the input language (as in the video) manually and as soon as I type a word, it automatically switches back to the language that was set in the previously opened document.

Any more questions, simple let me know.

More, my system keyboard layouts are (in this order):

US English
UK English
DE German
PT Brazil

My system language settings are:

Note, the spell checker is jumping back to German (the spell checker in the previously opened document), although I am setting it to UK English in the current document.

1 Like

Hey @godfatherjohn, :wave:

Thanks for the detailed information and for confirming it’s tied to the keyboard layout switching back to the previous document’s language. We’re investigating this alongside a related issue reported here: Presentation Editor Spell Checker Language Auto-Revert.

Big thanks for staying active and helping out on community.onlyoffice.com!

We’ll keep digging and update you in this thread as soon as we have progress. :hugs:

1 Like

@Nikolas - just to make that clear, what I am changing is the “Set text language”, not the keyboard layout (as per the video). And this is what jumps back to the language that was set in the previous document upon timing something in the new document.

Hello @godfatherjohn

Would you mind performing a simple test? Just like in the video, start typing a text with any spellcheck language, but then select it with paragraph sign (you can enable non-printing characters with CTRL+SHIFT+8), change the language and start a new line. Does the language change that way?

Ok, I have just done that. Here is what I did:

I wrote a few words, used CTRL+A (which includes the paragrah symbol) to highlight the text, then changed the language (‘Set text langauge’). The cursor in the document is at the end fo the highlighted area. As soon as I type the next letter, the language changes back to the previous language.

1 Like

Hey @godfatherjohn, :wave:

Thanks for information :fire:
We’re still digging into this with the team. As soon as we have an update from our side or need more info from you, I’ll jump back in here. Appreciate your patience and all the detailed testing!