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 - IBus not work with SDL 2.0.7
Summary: IBus not work with SDL 2.0.7
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: main (show other bugs)
Version: HG 2.1
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 10:44 UTC by cjacker
Modified: 2018-02-13 16:15 UTC (History)
1 user (show)

See Also:


Attachments
fix ibus issue of 2.0.7 (1008 bytes, patch)
2017-10-26 10:44 UTC, cjacker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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