mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
fix(linux): allow unhandled keys to pass through to compliant apps This change fixes a bug introduced in #13372. Before that engine.c determined if keys are handled or not. For keys that we didn't handle we returned FALSE. However, that didn't allow the Core to adjust the context where necessary, so #13372 moved that to Core. However, this caused ibus_keyman_engine_process_key_event to return TRUE even if we didn't handle the key. Instead we called ibus_engine_forward_key_event with the non-handled key. This worked in most applications, but not in the Text Editor. This change now does no longer call ibus_engine_forward_key_event for compliant apps but instead returns FALSE from ibus_keyman_engine_process_key_event for unhandled keys, allowing the app to see and act on the key event. An 'unhandled' key here is a key that doesn't match a rule in the keyboard and isn't a character key. Core returns a QIT_EMIT_KEYSTROKE action for that key. Fixes: #13590 |
||
|---|---|---|
| .. | ||
| debian | ||
| docs/help | ||
| ibus-keyman | ||
| keyman-config | ||
| keyman-system-service | ||
| scripts | ||
| .gitignore | ||
| build.sh | ||
| CodeCoverageReports.html | ||
| history.md | ||
| LICENSE.md | ||
| Makefile | ||
| README.md | ||
Keyman for Linux
See /docs/linux/README.md for documentation.