New issue
Advanced search Search tips

Issue 859598 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Chrome does not integrate with input language settings of Windows

Reported by wojciech...@gmail.com, Jul 2

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. Configure Windows to use two languages - on Windows 10, go to Settings, Region & Language and install additional language and make sure at least 1 keyboard layout is added
2. Open any page with any input/textarea field (or any other place where Chrome allows spell checking)
3. Press win+space (the standard key on Windows to change languages)

What is the expected behavior?
Chrome spell checking should automatically pick up new language - either as default or as opt-in functionality to avoid confusing users not familiar with multi-language support in Windows.

What went wrong?
Chrome keeps using the language(s) I manually configured it to use.

Did this work before? No 

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 10.0
Flash Version: 

Current language can be queried as `((int) GetKeyboardLayout(0)) & 0x0000ffff` - and I've verified this reports correct language when switching input languages.

See this for details:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms646296.aspx

According to the docs, WM_INPUTLANGCHANGE event is sent whenever a language is changed, but I have not verified this to be the case.

See this for details:
https://docs.microsoft.com/en-us/windows/desktop/winmsg/wm-inputlangchange
 
Labels: Needs-Triage-M67
Cc: susan.boorgula@chromium.org
Labels: Triaged-ET Needs-Feedback
wojciech.kocjan@ Thanks for the issue.

Tested this issue on Windows 10 on the reported version 67.0.3396.99 and the latest Canary 69.0.3487.0 by following the below steps.

1. Added few languages in System settings in Region & Languages.
2, Launched Chrome and navigated to www.google.com and put the focus on the text box.
3. entered some text in English , then hit Win+Spacebar keys and toggled to another language i.e. Hindi and could enter the text in Hindi in the text box.
Attached is the screen cast for reference.

Request you to check and confirm if anything is missed from our end in triaging the issue.

Also request you to retry the issue on a new chrome profile without any flags/extensions and update the thread with observations.

Thanks..
859598.mp4
940 KB View Download
Hello,

I apologize, I did not describe the issue properly. The editing part is working fine for me.

What I meant is input settings include both keyboard layout and language. Chrome accepts input from different keyboard layouts properly. What I am missing is that I need to use the context menu to change spell checking settings.

I am attaching an example with a textarea that shows that my spell checking was always done in Polish, regardless of my switching of languages.

I understand there already is a setting for spell checking language in Chrome (and I suspect many users are used to using this setting), so my request was whether it is possible to also support detecting my chosen input language and using it for spell checking, either as default behavior or as an option I could enable.

I hope this makes it more clear and I apologize for not explaining it properly when filling in the issue.

test.gif
200 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Jul 12

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -UI UI>Browser>Language

Sign in to add a comment