Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Cykyrios opened this issue Aug 28, 2024 · 3 comments
Open

Comments

@Cykyrios
Copy link
Contributor

Tested versions

v4.3.1.rc.custom_build [ff9bc04]

System information

Godot v4.3.1.rc (ff9bc04) - 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).

Godot_Wayland_IME.mp4

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

@xianrenak
Copy link

xianrenak commented Dec 5, 2024

I don't know is the same issue,
but using fcitx to input chinese in TextEdit (linux mint 22 / godot 4.3 stable)

it will drain some character from ime randomly. (when selected a word from ime)
and no keyboard event will triggered. (this will not happen in other applications )

It both effects the game and editor.

@Cykyrios
Copy link
Contributor Author

Cykyrios commented Feb 2, 2025

This doesn't seem to happen anymore, was it fixed maybe by one of #100715, #101629 or #101684? (I didn't find other possibly relevant PRs after a quick search)

@MadeScientist
Copy link

MadeScientist commented Feb 22, 2025

I'm not sure if my issue #103180 related to yours. It seems the issue may not have been fully resolved yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants