Error when typing a tilde in the script editor

Godot Version

Godot_v4.5.1-stable_linux.x86_64 AppImage on Ubuntu 24.04

Question

Anywhere in the script editor, when I enter a tilde, like for accented words in spanish (eg. “campeón”) the editor freezes and I can’t write anymore until I restart the program.

For example, if I want to write

my_label.text = "Un árbol"

I can´t get past

my_label.text = "Un ´"

and the editor freezes. Even if I try to escape it with “'\´”.

I can´t find info on this error anywhere, so I guess either I’m missing something obvious or it’s a rare bug.
Can anyone help?

— UPDATE —

  • Restarting ibus doesn’t solve the problem.
  • The steam version of Godot 4.5.1 has the same problem (as expected).
  • Using an external editor the problem goes away, so that’s a workaround, but it’s unconfortable to work like that.

So, for the time being, I guess I’ll just edit the dialogues and the strings with tildes in an external editor until Ubuntu upgrades ibus to 1.5.30 or the Godot devs fix the problem somehow.

It’s a known issue with the ibus, try the suggested solutions mentioned here:

2 Likes

Thanks for the reply.
I read the linked issue. I don’t think I’ll be uninstalling or messing with ibus, as I use the PC for work and can’t risk breaking anything, but I’ll try restarting it like someone suggested.

It’s strange, though, I don’t have this problem in any other software, so it seems like ibus works well in general.

Thanks again.

It’s worth adding to the thread in the ticket if you are still having this issue. They’ve been paying a lot more attention to Internationalization and Localization more recently.

1 Like