Closed Klarso-IvoBurkart closed 1 year ago
i believe this problem was caused by this piece of code https://github.com/CefView/QCefView/blob/b7baf2094f2f01f2af19755b9660101b6930a11b/src/details/QCefViewPrivate.cpp#L708-L746
but need further investigating
When you are investigating this, please also consider changing this line to support further flags/keys being set:
For reference see: https://bitbucket.org/chromiumembedded/cef/pull-requests/377
@JohannesMunk @JohannesMunk I think it will work now.
@tishion Thank you for investigating!! Indeed {}, [] and @ work as expected - <AltGr>
seems to work! BUT: All other keys don't work properly anymore. If I press <A>
it behaves like <Ctrl>+<A>
. Most other characters wont appear, cursor keys don't work. I don't understand how your code change would cause this.
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)
@tishionhttps://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 GitHubhttps://github.com/CefView/QCefView/issues/208#issuecomment-1399232127, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMZC4VEH5G5SHBGQHE7VKTWTPBFFANCNFSM6AAAAAAT4L6X6Q. You are receiving this because you were mentioned.Message ID: @.***>
@tishion Thank you for investigating!! Indeed {}, [] and @ work as expected -
<AltGr>
seems to work! BUT: All other keys don't work properly anymore. If I press<A>
it behaves like<Ctrl>+<A>
. Most other characters wont appear, cursor keys don't work. I don't understand how your code change would cause this.
please refer to this PR https://github.com/CefView/QCefView/pull/212
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 Androidhttps://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 GitHubhttps://github.com/CefView/QCefView/issues/208#issuecomment-1399234022, or unsubscribehttps://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 【更多额外信息】
...