spiegel-keyman/common/core/desktop
Eberhard Beilharz 044e53198a
fix(linux): Fix switching to keyboard in middle of line (#4678)
Don't re-set context if it changed because the cursor location was
wrong. When the user switches to the EuroLatin keyboard in the
middle of the line, we're getting a wrong cursor location. This will
be fixed with the next keypress, but it leads to the context string
suddenly having more characters added to the front. If we re-set the
context because it's different now we will loose the information we
previously added to the context.

We now compare the end of the string. If the new context string ends
with the old context string we assume that the cursor position got
updated and don't re-set the context.

This fixes #4678.
2021-03-18 17:29:21 +01:00
..
debian chore(linux): Verify signed source packages 2021-03-08 19:29:27 +01:00
doc docs(common): More readme improvements 2021-03-02 19:16:19 +01:00
include docs(common): More readme improvements 2021-03-02 19:16:19 +01:00
python/keyman/keyboardprocessor refactor(common): Rename keyboardprocessor to desktop 2020-02-26 16:34:29 +07:00
src fix(windows): incxstr could run over buffer with malformed data 2021-03-05 12:50:29 +11:00
tests fix(linux): Fix switching to keyboard in middle of line (#4678) 2021-03-18 17:29:21 +01:00
.gitignore chore(linux): Improve readme 2021-03-02 16:55:22 +01:00
build.bat fix(common): tweak surrogate pair deletions 2021-01-28 08:40:28 +11:00
getversion.bat fix(common): Fix meson.build script 2020-05-04 14:40:41 +02:00
getversion.sh fix(common): Fix meson.build script 2020-05-04 14:40:41 +02:00
meson.build fix(common): Fix meson.build script 2020-05-04 14:40:41 +02:00