Bug 132284 - When using a non-English language as default for all documents, when typing, paragraph language changes to OS language. Status "NEW"
Summary: When using a non-English language as default for all documents, when typing, ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-21 01:03 UTC by elvis.henriquez
Modified: 2020-04-21 01:40 UTC (History)
1 user (show)

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 elvis.henriquez 2020-04-21 01:03:32 UTC
Description:
Hi. In Tools - Options - Language Settings - Languages: Local Setting is set to "Portuguese (Brazil)", Default Languages for Documents is set to "Portuguese (Brazil)" too on Western.

With New Documents, or existing documents, when setting language for the documents as "Portuguese (Brazil)", when typing, language of new typed letters/words is set to the default language of the Keyboard at OS level.

If document is set to Portuguese (Brazil) and OS Keyboard language is set to English, for instance, then the language of the new written words is set to English.

If document is set to Portuguese (Brazil) and OS Keyboard language is set to Spanish, then the language of the new written words is set to English.

Users need to be highlighting the new words, or the whole paragraph, in order to set again the language to Portuguese (Brazil) for the Spell checking to properly work.


Steps to Reproduce:
1. Define a Language for a paragraph or a document. Example, Portuguese (Brazil)
2. Set keyboard language at OS level to other than the language of the document. Example, English.
3. Start typing anywhere on the document.

Actual Results:
New words are written in the language of the OS Keyboard instead of the one defined for the paragraph/document.

Expected Results:
New words should remain in the language defined for the paragraph / document.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes

Version: 6.4.3.2 (x64)
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; 
Locale: pt-BR (es_PA); UI-Language: en-US
Calc: threaded
Comment 1 Mike Kaganski 2020-04-21 01:40:23 UTC
This is a correct and intended behaviour. Please see "Ignore system input language" checkbox on Options - Language Settings - Languages [1], which is disabled by default, allowing one to automatically match the text language with currently active system input language. The idea is that user has multiple such languages defined, and uses normal system key combination to switch them (often along with changing keyboard) without the need to also explicitly change this setting in LibreOffice.

Closing NOTABUG.

Additionally: please never confirm (changing status) the bugs you create. It must be UNCONFIRMED, until someone confirms it independently. In the process, sometimes more information might be required, and when confirming, experienced triagers might CC developers who are likely to know how to fix, or find commits that caused regressions, etc. If you confirm your bug yourself, you put it into a state where it's likely not get any attention, because triagers would think it's already processed, and developers would not see it useful. (I only found it by accident, because saw it in recent logs).

[1] https://help.libreoffice.org/latest/en-US/text/shared/optionen/01140000.html#bm_id295725