You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CEF acts weird when trying to type a capital cyrillic letter "Л" into the focused input. It doesn't happen with any other cyrillic or latin letter. I don't know if there's more letters like this in other languages.
It could be reproduced in both GUI and non GUI browsers. Tested on local server on Win10 and Win11. It doesn't happen on Win7 though.
Create any kind of browser and add text input to it;
Focus that input;
Try typing any letter and then a capital letter "Л".
It could be easily detected by using:
functiononDOMContentLoaded(){constmyInput=document.querySelector(".myInput");// use querySelector or getElementByIdelements.input.addEventListener("keydown",(e)=>console.log(1,e.key));document.addEventListener("keypress",(e)=>console.log(2,e.key));}document.addEventListener("DOMContentLoaded",onDOMContentLoaded);
JeViCo
changed the title
CEF prevents from inputting certain keys
CEF doesn't properly capture certain characters (Cyrillic uppercase "Л")
Oct 27, 2023
functiononDOMContentLoaded(){constmyInput=document.querySelector(".myInput");// observe any unusual behaviormyInput.addEventListener("keydown",(e)=>{console.log("Keydown event:",e.key,e.keyCode);});myInput.addEventListener("keypress",(e)=>{console.log("Keypress event:",e.key,e.keyCode);});// track changes in the input valuemyInput.addEventListener("input",(e)=>{console.log("Input event:",e.target.value);});}document.addEventListener("DOMContentLoaded",onDOMContentLoaded);
If doesn't work, try to see if it has something to do with the enconding, by default it comes "utf-8", check that on your html file in the head tag.
Describe the bug
CEF acts weird when trying to type a capital cyrillic letter "Л" into the focused input. It doesn't happen with any other cyrillic or latin letter. I don't know if there's more letters like this in other languages.
It could be reproduced in both GUI and non GUI browsers. Tested on local server on Win10 and Win11. It doesn't happen on Win7 though.
Steps to reproduce
setDevelopmentMode(true, true)
;It could be easily detected by using:
AND
OR (equivalent to previous one)
Version
Client: v1.6-release-22268, Win10 & Win11
Additional context
No response
Relevant log output
No response
Security Policy
The text was updated successfully, but these errors were encountered: