Bug 118023

Summary: iiimf should allows any trigger key to activate IM
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: iiimfAssignee: Akira TAGOH <tagoh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ed, eng-i18n-bugs, llim, lukelittlepig, wtogami, yoshia
Target Milestone: ---Keywords: FutureFeature, i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: iiimf-12.2-0.7.svn2578 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-05 07:18:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 125997, 136451    

Description Jens Petersen 2004-03-11 07:40:52 UTC
Description of problem:
iiimf is using Ctrl-Space are the input toggle key binding.
Japanese and Korean users are used to Shift-Space at least,
and also Emacs used Ctrl-Space to set its "mark".

Additional info:
If it is desirable to keep Ctrl-Space for zh, perhaps
the default could be locale dependent in iiimf-server?

Comment 1 Nakai 2004-03-11 08:00:26 UTC
You can use Ctrl+@ instead...

Comment 2 Akira TAGOH 2004-03-19 06:28:58 UTC
the patch has been sent to the upstream.

Comment 3 Warren Togami 2004-04-19 09:04:42 UTC
What about the Kanji button?  (Is that CTRL-` or ALT-`?  I cannot
remember.)

Comment 4 Akira TAGOH 2004-04-22 05:35:52 UTC
*** Bug 121498 has been marked as a duplicate of this bug. ***

Comment 5 Yoshinobu Akimoto 2004-05-10 05:34:04 UTC
The key code of "Kanji" key is 49, which symbol is assigned 
as "Zenkaku_Hankaku" at default.
This Kanji key is very much familier to Japanese PC users for start 
Kana-Kanji Conversion in Japanese 106 keyboard. 

Following solution is recommended.
(1) Kanji key should be the default Conversion Start (and Stop) key.
(2) Some tools or documents are prepared to change the default 
Conversion Start (and Stop) key. In Kinput2, dafault Conversion Start 
(and Stop) key can be changed by editing the configuration files.


Comment 6 Akira TAGOH 2004-05-10 11:52:28 UTC
we have some problem to do that:
1) IIIMF have only common trigger key, but not LEs-specific trigger key
2) right now IIIMF have no way to change the trigger key.

according to 1) reason, if we fix this problem at this point, we will
have some trigger keys in order to keep the backward compatibilities,
usabilities-- at least we need to have Ctrl-space, Shift-space, Kanji.
and these keys always works to activate IM for LEs. no way to disable
only some trigger key.

BTW the way to allow these is being discussed by the upstream.

Comment 7 Leon Ho 2004-07-14 03:50:47 UTC
*** Bug 127647 has been marked as a duplicate of this bug. ***

Comment 8 Akira TAGOH 2004-08-17 04:55:20 UTC
BTW Although all of problems as I said isn't fixed yet, you can now
change the system wide trigger key with -conversionkeys option for
htt_server (htt will passes the unknown options through htt_server),
like this:
# htt -conversionkeys '<Shift>space'

after that, you can activate the IM with shift+space instead of
ctrl+space. please make sure your iiimsf-* packages and whether your
htt_server accepts -conversionkeys or not. if yes, you will see it in
the help messages with htt_server -h. otherwise you need to update
your packages then.


Comment 10 Leon Ho 2005-02-23 01:37:20 UTC
*** Bug 138963 has been marked as a duplicate of this bug. ***

Comment 11 Ed Halley 2005-04-15 03:52:09 UTC
I am a new user of the iiimf-*-12.1-10.FC3.  I have it working on Fedora Core 3,
but currently, both Ctrl+SPACE or Shift+SPACE will enter my chosen input mode
(Japanese).  I would like Ctrl+SPACE to work, but I find that I type Shift+SPACE
too often accidentally in normal typing so would like to disable that keystroke
switch.

Sounds like some work is being done upstream to make it somewhat configurable,
but I am looking through the im-sdk package, especially at the user interface
code.  I have found the widgets.c which controls a little bit of the interface
once the user is in a special input mode, but I have not figured out the portion
of the code which implements the Ctrl+SPACE/Shift+SPACE part itself.

Can you give me a hint?


Comment 12 Akira TAGOH 2005-04-18 06:02:19 UTC
Well, For gtk2 and Qt immodules, we have a patch to support the configurable
hotkey. we are waiting for approval from upstream.

Comment 13 Akira TAGOH 2005-04-27 07:24:41 UTC
The configurable hotkey feature is now in 12.2-0.1.svn2578 or later.

Comment 14 Lawrence Lim 2005-05-05 07:18:38 UTC
Confirmed hotkey feature has been implemented.

Example:
iiimf-le-tools -g --lang ja --add-hotkey '<shift>space'   --add-hotkey
'<alt>kanji' --add-hotkey 'kanji'