Input Sources per Window
I am not sure when this bug came up, but I think it was in GNOME 3.6. Anyway, it will be gone in a few months with the next major release of GNOME.
If you want to learn more about it, just go ahead and read bug #684210 report with all details and developers opinions about it. iBus in GNOME is one of the most discussed topics ever ;)