godot icon indicating copy to clipboard operation
godot copied to clipboard

Switching IME language mid-input keeps non-committed text visible on Wayland

Open Cykyrios opened this issue 5 months ago • 3 comments

Tested versions

v4.3.1.rc.custom_build [ff9bc0422]

System information

Godot v4.3.1.rc (ff9bc0422) - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Wed Aug 7 16:19:28 UTC 2024 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7900 XT (RADV NAVI31) - AMD Ryzen 9 7900X 12-Core Processor (24 Threads)

Issue description

On the Wayland version of the editor, on KDE with fcitx5 as IME, I can switch between French and Japanese. When typing Japanese, I have to commit text when converting kanji for instance; if I go back to French with non-committed text, this text will follow the caret (see video below).

https://github.com/user-attachments/assets/75878b5c-4884-4618-bd7a-d46ee6438f0a

On X11, non-committed text is deleted.

Steps to reproduce

Write text in multiple languages, with at least one requiring committing text (like Japanese, probably Chinese as well, I don't know about other languages), and switch between languages with some uncommitted text. Reminder: the issue occurs on KDE, Wayland editor with fcitx5 IME.

Minimal reproduction project (MRP)

N/A

Cykyrios avatar Aug 28 '24 11:08 Cykyrios