tomooda / PharoIM

InputMethod support for Pharo on headless VMs
MIT License
6 stars 0 forks source link

Ten characters display limitation on Windows #8

Open sumim opened 2 years ago

sumim commented 2 years ago

If the number of characters being typed exceeds 10, they will not be displayed. The input is accepted, and the conversion is done successfully. ATOK and Google IME are tested.

入力中の文字が 10文字を超えるとそれ以上表示されなくなります。入力は受け付けられていて、変換は可能です。ATOK と Google日本語入力 いずれでも生じます。

tomooda commented 2 years ago

It's a limitation due to the buffer size (32 bytes) in SDL2's text editing event. http://sdl2referencejp.osdn.jp/SDL_TextEditingEvent.html Thank you for reporting this issue, but I just can't fix it. Sorry for the inconvenience.

guillep commented 2 years ago

I checked SDL2's issue tracker, it seems the issue is at least recognised, there was a discussion about it circa 2019.

https://github.com/libsdl-org/SDL/issues/1879

There is apparently a new event that was proposed to solve this issue

tomooda commented 2 years ago

Thank you for the info. Let's revise this when the SDL implements extended editing events.