-
Notifications
You must be signed in to change notification settings - Fork 210
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
keyboard inputs don't work in html-overlay + linux #208
Comments
The error you've got looks related to your installed GTK version, which might be incompatible with the CEF framework we use.
I wouldn't expect that. On mobile platforms, we're using a completely different technology to render HTML content (webview vs. embedded browser). |
It happens with both There are also two start-up log messages that I hadn't noticed but don't believe are part of the problem:
|
I confirm the bug does exist on Linux. @bgbnbigben did you find a solution? |
Hello, the fix is rather simple: we have to fill the CefKeyEvent::native_key_code and CefKeyEvent::unmodified_character properties like this:
You have to do this in all keyboard callbacks (key down, key up, text input) in ChromiumApp.cpp. The fix will soon be on the dev branch. |
Hi there, No, I didn't find a solution -- it didn't particularly bother me since Warren suggested it was a different technology to mobile (and I'm only required to target mobile for this project, though perhaps in the future we might also move to desktop). However, it seems you found a fix; great news! I currently only have an android build on hand so can't test this on linux, but shall clone the dev branch in a few days to confirm. |
I don't believe this is a complete fix; for instance, the backspace button doesn't register with this fix. |
Correct. Some specific keys still don't work. Yet they work just fine on
|
Using an field inside the html-overlay plugin doesn't seem to accept input. On my linux64 machine each keystroke triggers an error similar to the following:
[0402/112706:ERROR:browser_main_loop.cc(234)] Gdk: IA__gdk_keymap_get_entries_for_keyval: assertion 'keyval != 0' failed
I haven't tested this on android nor iphone yet but I suspect this issue likely occurs on those platforms too.
The text was updated successfully, but these errors were encountered: