ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.9k stars 332 forks source link

Spell checking language changes to 8192 upon writing anything #1179

Open TandersT opened 1 year ago

TandersT commented 1 year ago

This issue is unique.

Operating System

Windows 10 / 8.1 / 7

Version information

7.2.1

Expected Behavior

When writing in English, words that are misspelled are highlighted as I write them.

Actual Behavior

As soon as I start writing, the spell checker changes to a nonsense language, and no spell checking is performed. I can afterwards mark all text and change to English, which works until I start writing again.

Reproduction Steps

This happens since I'm using a custom keyboard layout. If i change it to one downloaded from Microsoft it will change to that language upon writing. This is really frustrating, and I think manually changing it should make it so it does not change to the system language.

To replicate: Create a custom keyboard layout using Microsoft Keyboard Layout Creator. Apply it Write any word, and it happens.

Additional information

No response

ElenaMaaya commented 1 year ago

Hello, @TandersT! Thanks for the report. I followed the instructions, but I can't reproduce this issue. If you can, please attach .klc file for Microsoft Keyboard Layout Creator for a more complete test.

TandersT commented 1 year ago

I haven't got the original save file, though I have the files to install the keyboard layout. Is that enough? Otherwise I will try and recreate it if needed.

us-nordic.zip

ElenaMaaya commented 1 year ago

Thanks! Sorry, I still can't replicate the issue (OS Windows 11). Please, record a video with the problem if possible.

TandersT commented 1 year ago

Showcase of wrong language

Here's a short gif showing the odd behaviour along with what happens when switching to another language

I am on windows 11 as well

ElenaMaaya commented 1 year ago

Thank you very much! I will continue testing.

ElenaMaaya commented 1 year ago

Thanks for your report and help. I can confirm, this is bug - issue 58081 in our private issue tracker.

JustLukelay commented 1 year ago

For me this happens when I'm using the (Windows) default "English (Denmark)" language. When I set the language to "English (Sweden)" the same happens but this time it changes to 9216 instead of 8192. So I tried changing to "Danish" and it works as intended. The issue appears to be with languages/keyboards that combine multiple languages.