Closed
Bug 193888
Opened 23 years ago
Closed 23 years ago
input/textarea XIM connectivity broken in Linux, cannot input Chinese
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 187784
People
(Reporter: yixiong.zou, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211
I am running RedHat 8.0 + miniChinput-0.0.3-27. The XIM connectivity in 1.3 Beta
seems to be broken. Hit CTRL+SPACE in a input/textarea field does not bring up
the Chinese IME any more. The same functionality worked fine in 1.3 Alpha.
Here's the scripts I used to launch mozilla 1.3 Alpha in order to invoke Chinese
IME. One called "startchinput", the other called "startcn"
startchinput:
-------------------------------------------------------------------
# This is the "startchinput" script
# This script will start the Chinput service for X windows.
#
#!/bin/bash
if /sbin/pidof chinput >& /dev/null; then
echo "chinput already started."
exit 1
fi
lang=zh_CN.GB18030
ctype=zh_CN.GB2312
chinput=/usr/bin/chinput
export LANG=$lang
export LC_CTYPE=$ctype
export XMODIFIERS="@cim=Chinput"
$chinput
-----------------------------------------------------------
startcn:
------------------------------------------------------------
# This is the startcn script.
# Run 'startcn' to start mozilla in Chinese Input Mode. Or
# run 'startcn $PROG' to start $PROG in Chinese Input Mode, 'gedit'
# for example.
#
# To toggle Chinese/English Input, hit CTRL+SPACE.
#
#!/bin/bash
if /sbin/pidof chinput >& /dev/null; then
:
else
echo "starting chinput..."
startchinput
/sbin/pidof chinput >& /dev/null || { echo "failed to start chinput."; exit 1 ; }
echo "chinput started."
fi
lang=zh_CN.GB18030
ctype=zh_CN.GB2312
prog=${@:-mozilla}
export LANG=$lang
export LC_CTYPE=$ctype
export XMODIFIERS="@im=Chinput"
$prog
--------------------------------------------------------------------
Reproducible: Always
Steps to Reproduce:
1. Save the 'startchinput' and 'startcn' scripts.
2. Install Mozilla 1.3 Beta on RedHat Linux 8.0.
3. Run 'startcn mozilla' to launch Mozilla in Chinese Input enabled mode.
4. Go to any html with input/textarea fields, this page for example.
5. Click on a input/textarea field, hit CTRL+SPACE
Actual Results:
There's no Chinese IME poping up.
Expected Results:
The default Chinese IME should pop up. Mozilla 1.3 Alpha does this correctly.
Here's the link for Chinput.
http://www.opencjk.org/~yumj/project-chinput-e.html
It explains a little about XIM.
Comment 1•23 years ago
|
||
Is this GTK1 or GTK2 mozilla? RPM or .tar.gz?
See also bug 187784
| Reporter | ||
Comment 2•23 years ago
|
||
Ah, forgot to say, it is GTK2 Mozilla Redhat 8.0 RPMs. Here's the link
ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla1.3b/Red_Hat_8x_RPMS/gtk2/i386/
| Reporter | ||
Comment 3•23 years ago
|
||
Looks like this is a dup for bug 187784. Sorry. Did find it when doing the search.
Comment 4•23 years ago
|
||
*** This bug has been marked as a duplicate of 187784 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•