-
Notifications
You must be signed in to change notification settings - Fork 227
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] Browser interaction can not support inputting Chinese/Korean #227
Comments
Hi there, I've moved the issue over from the obs-studio repository, as this is purely based on how we translate obs keys to Cef keys. Could you please verify with the latest browser build as this PR #206 should've fixed the issue. Edit: It looks like 25.0.8 should also contain the fix. |
Hi, it still exists in 25.0.8. |
Good to know. So, in this case, you're specifically looking for the IME UI to appear? It'll most likely require some custom triggers, so may not be easy to do. I'm not sure how well CEF & Qt will interact in this particular use case. |
I just want to input non-English string. Yes, there is trigger for IME window, but I have confirmed trigger about IME is open in OBS by ImmGetOpenStatus() or GetSystemMetrics() For CefClient in osr mode, there are code for handling IME, such as OsrImeHandlerWin, OnImeCompositionRangeChanged, and WM_IME_SETCONTEXT/WM_IME_STARTCOMPOSITION... But that code seems to be handling position of IME window, and inputting non-English still works normally even I remove these code from CefClient. I have not found out the reason which causes difference between OBS and CefClient. Maybe we lost any code in OBS to enable this feature ~~ |
Hi, currently interaction window is not created in main thread of CEF, I guess this case causes user cannot input Korean/Chinese/Janpanese. I have tested to create interaction window in CEF's main thread, in which we run CefRunMessageLoop(), then I can input Chinese/Korean/Janpanese normally. |
Hi @walker-WSH do you have some demo code of launching the interaction window in CEF's main thread that I could use to verify? Thanks! |
Hi, the code can be found here: The interaction UI is developped in obs_browser plugin by WIN32 API, instead of by QT in UI project. This can fix bug about inputting Chinese/Korean/Japan, but I don't known why. |
Platform
Operating system and version: WIN10 (64bit)
OBS Studio version: 25.0.4 (64bit)
Expected Behavior
Can input Chinese/Korean by browser interaction
Current Behavior
Cann't input Chinese/Korean by browser interaction.
Even input method of system has been switched to Chinese, we can only input English in browser. There is no IME UI appears when I try to input Chinese.
Steps to Reproduce
Additional information
Currently version of CEF used in obs is "75.1.16+g16a67c4+chromium-75.0.3770.100"。
I checked the matched CefClient in CEF solution, its interaction work normally while osr and shared handle are enable.
By the way, the input method I am using is provided by OS. Besides, this bug also reproduce with other third-party input methods, such as QQ input method, Sogou input method.
The text was updated successfully, but these errors were encountered: