Bug 167690 - Mini-commander is no response to keyboard when using scim
Mini-commander is no response to keyboard when using scim
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: libX11 (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: X/OpenGL Maintenance List
:
Depends On:
Blocks: FC5Target SCIM
  Show dependency treegraph
 
Reported: 2005-09-07 04:47 EDT by Qingyu Wang
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-01-27 06:18:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Qingyu Wang 2005-09-07 04:47:36 EDT
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):


How reproducible:
Always

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

Additional info:
Comment 1 Qingyu Wang 2005-09-07 05:27:29 EDT
Version-Release number of selected component:
scim-1.4.2-0
Comment 2 Leon Ho 2005-09-07 21:28:47 EDT
Thanks Qingyu for the report. Jens will look into this bug.
Comment 3 Warren Togami 2005-09-08 07:26:21 EDT
The next logical step is to rebuild xorg-x11 using that patch and test if it works.
Comment 4 Jens Petersen 2005-09-28 04:43:01 EDT
I can't reproduce this in FC devel.
Comment 5 Jens Petersen 2005-09-28 05:22:53 EDT
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.
Comment 6 Qingyu Wang 2005-11-15 02:07:51 EST
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
English letters.
Comment 7 Jens Petersen 2005-12-20 03:43:05 EST
Moving to FC5Target since only happens under xim which is not
used for the gnome-panel.
Comment 8 Jens Petersen 2005-12-20 04:17:33 EST
Reassigning to libX11 owner based on upstream bug in original report.
Comment 9 Mike A. Harris 2006-01-27 06:18:14 EST
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 
[reply] -------

Patch makes sense to me, so I went ahead and committed it to head:

CVSROOT:	/cvs/xorg
Module name:	xc
Changes by:	alanc@gabe.freedesktop.org	05/03/07 18:53:36

Log message:
  2005-03-07  Alan Coopersmith  <alan.coopersmith@sun.com>
  
  	* xc/lib/X11/imEvToWire.c:
  	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 <hidetoshi.tajima@sun.com>.

Modified files:
      ./:
        ChangeLog 
      xc/lib/X11/:
        imEvToWire.c 
  
  Revision      Changes    Path
  1.803         +9 -1      xc/ChangeLog
  1.3           +1 -1      xc/lib/X11/imEvToWire.c

Note You need to log in before you can comment on or make changes to this bug.