FS#40592 - [chromium] ignores X keyboard layout, forces en-US
Attached to Project:
Arch Linux
Opened by Johan Forberg (jforberg) - Wednesday, 28 May 2014, 23:07 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 28 July 2014, 09:36 GMT
Opened by Johan Forberg (jforberg) - Wednesday, 28 May 2014, 23:07 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 28 July 2014, 09:36 GMT
|
Details
Description:
The current version of Chromium is broken as since about v. 35 it does not respect the keyboard layout given by X, but instead forces en-US layout. The same error occurs for me in v. 36 (google-chrome-beta) and is reported also in v. 37. No other app has the error so it is clearly an issue with Chromium. It's remarkable that such a crippling bug can be present in three major versions simultaneously. This problem has been noted upstream: https://code.google.com/p/chromium/issues/detail?id=376893 Steps to reproduce: 1. Install chromium 35.1916 etc. 2. Change to non-US layout 3. Attempt to enter any non US-ASCII letter |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Monday, 28 July 2014, 09:36 GMT
Reason for closing: None
Additional comments about closing: Issue goes away after setting correct locale.
Monday, 28 July 2014, 09:36 GMT
Reason for closing: None
Additional comments about closing: Issue goes away after setting correct locale.
http://pkgbuild.com/~foutrelis/chromium-35.0.1916.153-2-x86_64.pkg.tar.xz
It includes the patch referenced in the upstream bug report:
https://codereview.chromium.org/323023002
Also, I believe a more accurate description of the problem is that non-ASCII characters are badly handled by Chromium. It has little to do with the keyboard layout.
In this instance, I'm using an azerty layout, and my "a" key sends an "a" character to Chromium, not a "q" if there was a layout mishap. However, my "é" sends a "2" and my "è" a "7", whereas "&" produces the expected "&" (it would produce a "1" if I were usong an en_US layout). Moreover, Level3 keystrokes are altered too.
http://pkgbuild.com/~foutrelis/.w7T3m2WP/chromium-35.0.1916.153-2-x86_64.pkg.tar.xz
[1] https://code.google.com/p/chromium/issues/detail?id=376893#c54
Thanks for pointing me in the right direction.
[Edit]The LC_CTYPE setting is apparently the one that matters.[/Edit]
I'll go ahead and close this.