Skip to content

[Mac OS] IME Preedit text is lost or misplaced when switching focus between textboxes #19964

@hyunq21

Description

@hyunq21

Describe the bug

When typing in Korean, if the focus moves to another textbox while the IME is still composing text (PreeditText), the unfinished composition disappears. Then, when typing any key in the newly focused textbox, the previous textbox’s PreeditText unexpectedly appears in the new textbox.

2025-11-01.5.27.41.mov

To Reproduce

On macOS, create multiple textboxes and try typing in Korean while switching focus between them.

Expected behavior

  1. The composed (Preedit) text is lost when the textbox loses focus.
  2. The unfinished IME text is incorrectly inserted into the newly focused textbox.

Avalonia version

11.3.7

OS

macOS

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions