We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3920

Summary: IBus not work with SDL 2.0.7
Product: SDL Reporter: cjacker
Component: mainAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: HG 2.1   
Hardware: x86_64   
OS: Linux   
Attachments: fix ibus issue of 2.0.7

Description cjacker 2017-10-26 10:44:50 UTC
Created attachment 3042 [details]
fix ibus issue of 2.0.7

After updating from 2.0.5 to 2.0.7, Ibus not work anymore(fcitx still works).

Compare with 2.0.5, there are two issues in SDL_ibus.c.

1, SetupConnection always return SDL_FALSE in 2.0.7. 

2, 'SetCapabilities' method should be called on 'ibus_conn'.

Patch attached.
Comment 1 Ozkan Sezer 2017-11-05 20:25:12 UTC
Fedora has adopted the proposed ibus patch from #ยข0:
https://bugzilla.redhat.com/show_bug.cgi?id=1507444
Comment 2 Sam Lantinga 2018-02-13 16:15:55 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/b548450528c9