GNOME Bugzilla – Bug 768624
GtkIMContextSimple is incompatible with X11 .XCompose
Last modified: 2018-05-02 17:17:11 UTC
Created attachment 331152 [details] XCompose Since gtk-3.20 GtkIMContextSimple reads ~/.XCompose as well. Unfortunately it triggering many errors. I attached a sample .XCompose file, and the log I'm getting. FWIW the file is slightly modified version of this one https://github.com/kragen/xcompose/blob/master/dotXCompose which is quite popular as you can see. How to reproduce: α) Place the attached file to ~/.XCompose β) Make sure that ~/.cache/gtk-3.0/compose/ is empty — .XCompose is being cached there γ) Run a gtk-3.20 app with a textbox — it would output those errors into a terminal
Created attachment 331153 [details] Errors list
Forgot to add: to reproduce one have to run an app with GTK_IM_MODULE=gtk-im-context-simple variable set, so that gtk-3.20 would use this input method.
If somebody wanted to work on this, the first step would be to enhance GtkIMContextSimple's table format to support generating multiple chars.
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Still relevant with 3.22.26. I tested as part of bug https://bugzilla.gnome.org/show_bug.cgi?id=768412#c13 specifically, I removed immodule.cache, thus forcing gtk to bail out to gtk-im-context-simple, and tried a Compose shortcut for producing two characters. It didn't work. Worth noting though that mentioned earlier method of setting GTK_IM_MODULE=gtk-im-context-simple for some reason have no effect.
(In reply to hi-angel from comment #5) > Worth noting though that mentioned earlier method of setting > GTK_IM_MODULE=gtk-im-context-simple for some reason have no effect. Nvm about this sentence — it's some odd behavior of gnome-terminal. If I make a dummy window with textbox on it, it is reproducible.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/645.