phuang / ibus

Intelligent Input Bus for Linux/Unix
http://code.google.com/p/ibus/
GNU Lesser General Public License v2.1
175 stars 227 forks source link

Cannot launch gtk(?) apps when Ibus is installed #15

Closed Grannath closed 5 years ago

Grannath commented 5 years ago

While Ibus is installed, some applications cannot be launched. Best example is probably the JetBrains IDEs, which run on Java. This is the output I get.

(java:7703): GLib-GObject-WARNING **: 18:07:44.980: cannot register existing type 'GtkIMContext'

(java:7703): GLib-GObject-WARNING **: 18:07:44.980: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(java:7703): GLib-CRITICAL **: 18:07:44.980: g_once_init_leave: assertion 'result != 0' failed

(java:7703): GLib-GObject-CRITICAL **: 18:07:44.980: g_type_register_dynamic: assertion 'parent_type > 0' failed

I am running Manjaro Linux, Ibus version is 1.5.20-2 from the Manjaro Extra repo. libibus is the same version. gtk is version 3.24.8-1.

I am relatively sure this used to work, and an update broke it, but it's possible I just did not notice. While an application is running, it's fine, so maybe I just missed it.

I am aware that it might not be ibus' fault. But I cannot find anything useful on google. So any help is appreciated.

Grannath commented 5 years ago

OK, finally found it. There was another .something file that set the wrong input method framework. For some reason, this still just worked in some apps, while others crashed hard like that. In case anyone ever sees this, double and triple check all files executed during startup.