Red Hat Bugzilla – Bug 167690
Mini-commander is no response to keyboard when using scim
Last modified: 2007-11-30 17:11:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.7.10) Gecko/20050719 Red Hat/1.0.6-1.4.1 Firefox/1.0.6
Description of problem:
I add a "Mini-Commander" in my Panel. Once I invoke scim in the "Mini-Commander" I can't input anything, even can't input English letters. Also, I can't switch off scim by keyboard. It seems that it is the same bug as what in https://bugs.freedesktop.org/show_bug.cgi?id=2006, and it is true that when I use XIM "Mini-Commander" can't recieve any key event. Yet the same problem didn't happen when I use IIIMF.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add a "Mini-Commander" to Panel from Panel menu
2. activate scim
3. try to input anyting in "Mini-Commander" and you will find no response at all
4. try to switch off scim by keyboard "Ctrl+Space", failed
Actual Results: "Mini-Commander" is no response to keyboard input
Expected Results: "Mini-Commander" recieves keyboard input normally
Version-Release number of selected component:
Thanks Qingyu for the report. Jens will look into this bug.
The next logical step is to rebuild xorg-x11 using that patch and test if it works.
I can't reproduce this in FC devel.
I tested a little more:
So with gtk immodule, I can input ascii when scim is turned off and on.
When I switch to xim I can still input until turning on scim, when
input is locked until I turn it off from the scim menu again.
With more test I find this bug happens when I unset the env variable
GTK_IM_MODULE=scim. But with this variable setting, there is still a similar
bug. In the Mini-Commander, scim can't be invoked and deactivated by
[Ctrl]+[Space] but just can be invoked by mouse from menu. And once I invoke
scim in the "Mini-Commander" I can't input Chinese with scim. I can just input
Moving to FC5Target since only happens under xim which is not
used for the gnome-panel.
Reassigning to libX11 owner based on upstream bug in original report.
The bug was fixed in CVS head, in March 2005, so it should be present in
X11R7, which is in rawhide now.
------- Additional comment #7 from Alan Coopersmith on 2005-03-07 18:54
Patch makes sense to me, so I went ahead and committed it to head:
Module name: xc
Changes by: email@example.com 05/03/07 18:53:36
2005-03-07 Alan Coopersmith <firstname.lastname@example.org>
Bugzilla Bug 2006 (https://bugs.freedesktop.org/show_bug.cgi?id=2006)
Patch #2031 (https://bugs.freedesktop.org/attachment.cgi?id=2031)
XEmbed client doesn't receive key events from XIM: Use | to set a bit,
not &. Patch by Hidetoshi Tajima <email@example.com>.
Revision Changes Path
1.803 +9 -1 xc/ChangeLog
1.3 +1 -1 xc/lib/X11/imEvToWire.c