GNOME Bugzilla – Bug 675014
Can't activate input method in Awesome window manager
Last modified: 2018-02-10 03:37:30 UTC
I can hardly activate my input method in gnome-terminal in Awesome WM. When the gnome-terminal window gets the focus, for most of the time I can't activate IM by all means (Ctrl-Space, clicking the IM's icon, using fcitx-remote). Sometimes it works, but I have no idea if it'll still work if I switch to another window and switch back again. I remember it once worked. And it seems that after I update gnome-terminal from 3.2.1 to 3.4.1.1 it becomes harder to get it work. Tested IMs include fcitx and ibus.
One possible problem might be gnome-terminal doesn't set focus correctly (might due to gnome-terminal it self or awesome) to im module. Since all key is passed to gnome-terminal directly, and fcitx and ibus are both using gtk key snooper to grab the key, seems no way for key not being processed once by im module.
Please test if this is reproducible with either gnome-shell or metacity (latest versions from gnome 3.4) in click-to-focus mode. Anything else is entirely unsupported.
It happens sometimes when gnome-shell restart. I wonder gnome-terminal missing some case for gtk_im_context_focus_in, or it's some gtk3 change break this.
OK. So this could be either a gtk 3.4.x problem, or a gnome-shell one. (Since it one worked according to comment 0, and there haven't been any IM related changes in vte or g-t, I don't think it's a bug in either of these.) Trying -> gtk+.
This is reproducible in GNOME3.
This is especially easy to reproduce when there are two gnome-terminal windows in Gnome 3 (gnome-shell).
I also met this bug using iBus in GNOME Terminal on both GNOME3 and Xfce4. But this bug occurs rarely.
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.