-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: AltGr key modifier not working #208
Comments
i believe this problem was caused by this piece of code QCefView/src/details/QCefViewPrivate.cpp Lines 708 to 746 in b7baf20
but need further investigating |
When you are investigating this, please also consider changing this line to support further flags/keys being set: QCefView/src/details/utils/KeyboardUtils.cpp Line 432 in 30c916a
For reference see: |
@JohannesMunk @JohannesMunk I think it will work now. |
@tishion Thank you for investigating!! Indeed {}, [] and @ work as expected - |
oh crap!! I will look into it later.
…________________________________
From: Johannes Munk ***@***.***>
Sent: Saturday, January 21, 2023 7:21:54 PM
To: CefView/QCefView ***@***.***>
Cc: Sheen Tian ***@***.***>; Mention ***@***.***>
Subject: Re: [CefView/QCefView] [BUG]: AltGr key modifier not working (Issue #208)
@tishion<https://github.com/tishion> Thank you for investigating!! Indeed {}, [] and @ work as expected! BUT: All other keys don't work properly anymore. If I press it behaves like +. Most other characters wont appear, cursor keys don't work. I don't understand how your code change would cause this.
—
Reply to this email directly, view it on GitHub<#208 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABMZC4VEH5G5SHBGQHE7VKTWTPBFFANCNFSM6AAAAAAT4L6X6Q>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
please refer to this PR |
I think I found it: Your return statement moved inside the if. If you move it back outside everything works as expected! Thx a lot! |
can you help to draft a PR to fix this?
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Johannes Munk ***@***.***>
Sent: Saturday, January 21, 2023 7:34:23 PM
To: CefView/QCefView ***@***.***>
Cc: Sheen Tian ***@***.***>; Mention ***@***.***>
Subject: Re: [CefView/QCefView] [BUG]: AltGr key modifier not working (Issue #208)
I think I found it: Your return statement moved inside the if. If you move it back outside everything works as expected! Thx a lot!
—
Reply to this email directly, view it on GitHub<#208 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABMZC4VFMX4ZKWYCWVGDZGTWTPCT7ANCNFSM6AAAAAAT4L6X6Q>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Fixed and i am closing this. thanks |
Describe the bug 【Bug描述】
The AltGr key modifier is not working in CEFView-Widgets, making it impossible for some characters to be entered by keyboard depending on key layout. Example would be '[' or '@' on Germany layout.
To Reproduce 【复现步骤】
Expected behavior 【正确的预期行为】
All characters are inputable
Screenshots 【截图】
...
Environment 【BUG产生的环境】
Additional context 【更多额外信息】
...
The text was updated successfully, but these errors were encountered: