fix(desktop): prevent Korean character swallowing in terminal and xterm.js surfaces (INPUT-04, INPUT-19)
This commit is contained in:
parent
f18cebaa24
commit
61123b5ad8
11 changed files with 264 additions and 50 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
|
@ -12,6 +12,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Additional Whisper model management UI
|
||||
- Plugin system for custom pipelines
|
||||
|
||||
## [1.15.1] - 2026-10-31
|
||||
|
||||
> Published from an annotated tag. Installer and update metadata are served by the
|
||||
> canonical Forgejo feed; no binaries are committed to this repository.
|
||||
|
||||
### Fixed
|
||||
- **Terminal & `xterm.js` Korean IME character-swallowing fix (터미널·에이전트 창 한글 타이핑 시 1글자씩 씹히는 현상 근본 해결).**
|
||||
- Removes synchronous cross-process `isForegroundKoreanIme` (`SendMessageTimeoutW(WM_IME_CONTROL)`) calls from the low-level keydown hook (`InputTelemetryService._handleKeyDown`) that were disrupting Windows TSF/DefIME composition state on every keystroke in terminal windows, replacing them with a one-time idle-snapshot IME sync (`TerminalKeystrokeTracker.syncKoreanIme`).
|
||||
- Adds a dedicated `xterm-helper-textarea` fast path in `sidecar/uia_bridge.py` that skips `GetTopLevelControl()` DOM tree walks and `TextPattern.GetSelection()` / `ExpandToEnclosingUnit(Character)` / `TextEditPattern.GetActiveComposition()` COM calls (which stalled Chromium's renderer thread up to 1,500 ms during Korean IME composition and left `isComposing` stuck `true`), and extends `_WAKE_TTL_SECONDS` from 60 s to 86,400 s per HWND.
|
||||
- Suppresses 40 ms word-boundary UIA snapshots on normal Korean words (`_shouldRunFastTerminalBoundarySnapshot`), removes the duplicate 680 ms `_typoTimer`, and stops 800 ms `_sampleWhileTyping` polling on terminal surfaces so UIA never queries `xterm-helper-textarea` while you press the first consonant of the next word.
|
||||
- Prevents `TypoCorrectionService` from injecting `commitComposition` (`VK_SPACE` + `VK_BACK`) on trailing composed Hangul syllables (`/[가-힣]$/u`) in terminals before `Space` is pressed.
|
||||
|
||||
## [1.15.0] - 2026-10-31
|
||||
|
||||
> Published from an annotated tag. Installer and update metadata are served by the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue