FS#59260 - [sdl2] IME(IBus) not work in SDL2

Attached to Project: Arch Linux
Opened by Lingfeng Zhang (FireZ) - Saturday, 07 July 2018, 15:32 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 04 October 2018, 22:43 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
InitKeyboard not init IME(IBus), SDL_USE_IME should be defined in CMakeLists.txt

Additional info:
* sdl 2.0.8-8

the sdl-use-ime.patch tested work for ibus
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 04 October 2018, 22:43 GMT
Reason for closing:  No response
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 29 July 2018, 14:50 GMT
I can't find anything upstream about this issue. What exactly is not working? How can I test it? Is there an upstream bug report about it?
Comment by Lingfeng Zhang (FireZ) - Sunday, 29 July 2018, 17:13 GMT
I think it's not a issue in sdl2 source but in build script.
SDL_StartTextInput() should support ime like ibus or fcitx but not. There is an argument `--enable-ime` in ./confirgure and it will enable ime support and define SDL_USE_IME. But if you directly use cmake to build sdl2, ime will not be supported and SDL_USE_IME will not be defined even if libibus or fcitx library in build deps.
You can test it by example in https://wiki.libsdl.org/Tutorials/TextInput, and use ibus or fcitx to enter some text.
Or install some program depends on sdl2 like teeworlds and use ibus or fcitx to enter some text in inputbox.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 29 July 2018, 17:47 GMT
Can you report an upstream bug with this information? I think they are in a much better position to fix this.
Comment by Lingfeng Zhang (FireZ) - Monday, 30 July 2018, 15:34 GMT
ok
Comment by arliweng (arliweng) - Thursday, 13 September 2018, 18:29 GMT
i confirm, in sdl2(2.0.8-9) can't use ibus-ime(1.5.19-1)
after patch, work fine,
lib32-sdl2 not test.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 24 September 2018, 06:52 GMT
Where's the upstream issue on this? Please just post the link.

Loading...