Use xim instead of gtkim by default in GTK2
For years, bug reports have been opened on the GNOME bug tracker because GTK use its own compose system, sync with upstream with a delay, and thus regularly lacks dead key/compose rules supplied by X11:
- https://bugzilla.gnome.org/show_bug.cgi?id=321896
- https://bugzilla.gnome.org/show_bug.cgi?id=537962
- https://bugzilla.gnome.org/show_bug.cgi?id=586272
- https://bugzilla.gnome.org/show_bug.cgi?id=678731
- https://bugzilla.gnome.org/show_bug.cgi?id=93421
One especially unfortunate example of this is bépo: we advertize that our keyboard layout allows easily typing greek characters, but for this we need to tell our users to configure GTK to use xim, which is awfully not user-friendly. And this has been a problem for us for years.
In a few months, a new (minor) version of bépo will be released and hopefully the dead keys we made will be upstreamed along with the new bépo version. We will have the same problem as now but worse, because GTK will not include the new dead keys. This illustrates why I think simply synchronizing your definitions with upstream is not a satisfying solution at all.
So, is there a reason that explains why GTK continues to use by default an input method that is causing trouble for some people, instead of using the default input method that seems to work just fine?