Page 1 of 1

[posila] [0.17.1] IME function broken

Posted: Wed Feb 27, 2019 3:41 am
by ProjectSky
Updated to 0.17.1, I can't enter Chinese messages in the game.

Re: [0.17.1] IME function broken

Posted: Wed Feb 27, 2019 4:56 am
by tehfreek
Confirmed on Linux with a Japanese IME.

Re: [0.17.1] IME function broken

Posted: Wed Feb 27, 2019 6:49 am
by xiaoshui05
windows 10 ,the same problem :(

Re: [0.17.1] IME function broken

Posted: Wed Feb 27, 2019 7:11 am
by posila
tehfreek wrote:
Wed Feb 27, 2019 4:56 am
Confirmed on Linux with a Japanese IME.
In 0.16, we have added support for IME input method on Windows only. We have not added IME support for Linux/macOS in 0.17

Re: [0.17.1] IME function broken

Posted: Tue Mar 05, 2019 3:34 am
by xiaoshui05
posila wrote:
Wed Feb 27, 2019 7:11 am
tehfreek wrote:
Wed Feb 27, 2019 4:56 am
Confirmed on Linux with a Japanese IME.
In 0.16, we have added support for IME input method on Windows only. We have not added IME support for Linux/macOS in 0.17
Can you fix this bug first? Now we copy text from other places into the game, which makes our game experience very poor.

I found this, maybe it will be useful(viewtopic.php?f=6&t=23934&p=151871&hilit=IME#p151871

Re: [0.17.1] IME function broken

Posted: Tue Mar 05, 2019 1:01 pm
by Jap2.0
xiaoshui05 wrote:
Tue Mar 05, 2019 3:34 am
posila wrote:
Wed Feb 27, 2019 7:11 am
tehfreek wrote:
Wed Feb 27, 2019 4:56 am
Confirmed on Linux with a Japanese IME.
In 0.16, we have added support for IME input method on Windows only. We have not added IME support for Linux/macOS in 0.17
Can you fix this bug first? Now we copy text from other places into the game, which makes our game experience very poor.

I found this, maybe it will be useful(viewtopic.php?f=6&t=23934&p=151871&hilit=IME#p151871
They aren't using Allegro anymore.

Re: [posila] [0.17.1] IME function broken

Posted: Sat May 18, 2019 6:05 pm
by posila
Thanks for the report and sorry for taking so long to fix it.
It should be fixed in 0.17.42

Unfortunatelly, I couldn't make IME implementation in SDL work in any reasonable way so we had to port the code we used in 0.16 with Allegro.

SDL is handling windows events quite differently than Allegro did, so the code ended up being different and I hope it will work just as it used to with 3rd party IME software. I tested just with Microsoft's IME in Windows 10.