spiegel-keyman/linux
Eberhard Beilharz f23dd7563f
refactor(linux): Implement ordered output sentinel in keyman-system-service
This change allows to press F24 as ordered output sentinel from
keyman-system-service.

This is part of implementing serialized output with keyman-system-service
instead of requiring a patched ibus.

The problem both approaches try to solve is that with non-compliant apps
it is not possible to directly delete characters from the context. Instead
we have to emit a backspace key before we can commit the new
characters. However, the backspace key press goes through a different
code path in ibus and so it can happen that the commit gets processed
before the backspace which then deletes from the characters we just
added instead of from the old content.

The previous implementation solved this by forwarding a F24 ordered output
sentinel key to ibus and relying on the patched ibus to send that back to
us. When we received the F24 key we committed the characters that we
queued when we forwarded the F24 key (implemented in #7079).

The new approach implemented in this change instead sends the F24 ordered
output sentinel key through keyman-system-service and so follows the
regular key processing without requiring a patched ibus to send the key
back to us. The rest of the algorithm stays mostly the same: when we receive
the F24 key we commit the characters previously queued. The difference to
the previous implementation is that we now also queue the backspace keys
that we generate.

Part-of: #10799
2025-02-05 11:42:04 +01:00
..
debian chore(linux): Update debian changelog 2025-01-28 16:52:23 +01:00
docs/help Merge pull request #13028 from keymanapp/linux-title 2025-01-24 13:16:00 +07:00
ibus-keyman chore(linux): preserve log files when running tests under Docker 2025-01-31 16:14:41 +01:00
keyman-config chore(linux): change SIL International to SIL Global 2024-12-10 10:26:44 +01:00
keyman-system-service refactor(linux): Implement ordered output sentinel in keyman-system-service 2025-02-05 11:42:04 +01:00
scripts fix(linux): remove unnecessary files from source tarball 2025-01-27 16:56:41 +01:00
.gitignore chore(linux): rename test files 2024-11-26 19:06:02 +01:00
build.sh test(developer): add markdown link check test for product documentation 2024-09-25 15:51:32 -07:00
CodeCoverageReports.html chore(linux): Add code coverage index page 2023-10-13 22:51:00 +02:00
history.md chore(linux/resources): Cleanup formatting in history.md 2020-11-27 13:30:20 +07:00
LICENSE.md chore(linux): Update readme 2022-10-12 12:28:46 +02:00
Makefile chore(linux): remove unused building with pbuilder 2024-06-24 18:37:10 +02:00
README.md chore(linux): Add code coverage index page 2023-10-13 22:51:00 +02:00

Keyman for Linux

See /docs/linux/README.md for documentation.