Mtasa-blue: Browser/GuiBrowser won't capture AltGr combined characters (For Spanish keyboard layout)

Created on 19 Mar 2020  Â·  8Comments  Â·  Source: multitheftauto/mtasa-blue

Describe the bug
Trying to input any Right Alt / AltGr combined characters won't be sent to the browser

To reproduce

  1. CHANGE KEYBOARD LAYOUT TO SPANISH - Spanish (Spain)
  2. Download the resource attached browser_bug_altgr.zip
  3. Start server and resource attached.
  4. Start client and connect.
  5. Input all numbers from 1 to 0 while holding AltGr into the input field.
  6. Try to input the same sucession of characters into the upper-left edit box. There it should work.

Expected behaviour
In the browser input field, you're expecting this string
"|@#~€¬7890"

Screenshots
Tried to input character AltGr-2 (@) 3 times before opening console.
imagen
but, as seen by the log, it's not typing the character.

Version

  • Client: 1.5.7-release-20447
  • Server: 1.5.7-9.20358.0

Additional context
Discord conversation

bug upstream

Most helpful comment

imagen
Fixed

All 8 comments

Seems to be a bug with CEF OSR.

Tested with http://opensource.spotify.com/cefbuilds/cef_binary_80.0.8%2Bgf96cd1d%2Bchromium-80.0.3987.132_windows32_client.tar.bz2

cefclient.exe
Works fine
imagen

cefclient.exe --off-screen-rendering-enabled
Doesn't work at all!
imagen

Going to fill a bug report @ CEF anyway

A bug report has been already filled about this.

Confirmed this is a regression, since this version works just fine
79.3945 binary

PLEASE, vote here so the issue is resolved ASAP.

https://bitbucket.org/chromiumembedded/cef/issues/2892/osr-generated-characters-from-keyboard

Thank you so much for debugging this and tracking it down!

This is resolved using version 81.2.15+ge07275d+chromium-81.0.4044.92 and a little adjustment to CWebCore. Commit & PR soon.

Thanks to Mike Wiedenbauer who contributed to CEF to fix this issue!

imagen
Fixed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PlatinMTA picture PlatinMTA  Â·  3Comments

Haxardous picture Haxardous  Â·  3Comments

rk-r picture rk-r  Â·  4Comments

StrixG picture StrixG  Â·  3Comments

CrosRoad95 picture CrosRoad95  Â·  4Comments