Comment 13 for bug 1007423

Revision history for this message
Rik Shaw (rik-shaw) wrote :

I am copying here a comment i made on bug 1023165

I think these problems are all possibly related, as I have done the 2 below things and now have ibus working 100% in all applications, using the GUI to switch input methods (don't have to rely on the keyboard shortcut which was confusing for some of my users)

Here is my comment from the above bug (please don't take this as spam: main point is there is something amiss with the ubuntu customized version of ibus that is solved by reverting to the debian version!):

==============================================

I have had tons of ibus issues with certain programs as well (mainly in 12.04 but confirmed same problems in 12.10 and I would assume 13.04 as well but I have not tested yet).

BUT, I have solved all ibus problems (thanks to help from others) with some manual help, but need additional help from others to konw how to get these changes made known to the ubuntu devs.

     1. stock ibus for Ubuntu 12.04 (version 1.4.1-3ubuntu1) has several difficulties when using the system tray icon GUI to enable or disable keyboards. Sometimes it is not turned on properly even though the icon changes, sometimes it says "no input window" when there is indeed one, and other times it simply seems unresponsive: turning on the keyboard does nothing. This seems across "almost all applications". Same issues exist with the 12.10 ibus (different version, but still has the "ubuntu1" customization).

    Upstream versions of ibus from Debian Sid (version 1.4.1-7) solve all of these problems, and ibus seems to work very very well from the GUI menu with this update (another colleague packaged these for me for 32 and 64 bit: if anyone would like these I would be happy to send them. so please let me know). Note that this new version will not show up in the system tray (notification area) by default, however, so either run this command:

        gsettings set desktop.unity.panel systray-whitelist "['all']"

    or do the same with dconf-editor.

In summary for this first issue, it is WHATEVER Ubuntu is customizing that is causing a great headache for ibus users. Stock ibus from Debian works much better!

    2. Setting ibus as the "keyboard input method" in Language Support will cause unexpected behavior (even with the updated version of ibus from above). Particuarly in some apps (a custom mono based one I use is one example), the window ids of the various windows windows will be confused by ibus, thus resulting in the inablity of ibus to work consistently (again, from the GUI menu). If ibus is started manually, these problems do not appear. Only when started through Language Support. The workaround is to keep Language Support keyboard input method to "none" and have a startup application that runs "ibus-daemon -xrd" on login (can either be user level or system level in /etc/xdg/autostart).