ピアス エリック <eric_karatsujp@yahoo.co.jp> writes: [...]
When I was bringing up kinput, the kana-conversion box would pop up in the lower left-hand corner and kinput would (still does) take the focus away from whatever text entry box I was trying to type Japanese into. So anything I tried to type went to never-never land. I just need to reclick the entry box after bringing up Kinput, and it works fine. I'm guessing it was working like this before as well. I just didn't think to refocus the cursor (because I haven't encountered this problem before).
Now I see. I know that it causes problems when the windows popped up by kinput2 get focus. I didn't have this problem with the mode window of kinput2 at the lower left of Mozilla, this window did never get focus on any of my SuSE Linux systems. But the focus problem is also annoying when one uses the features of kinput2 which pop up additional windows, for example the special symbol input as descrribed on http://www.suse.de/~mfabian/suse-cjk/kinput2-canna-special-symbo.html These additional windows should never get focus, if they do the characters don't appear in the window where one wants to type Japanese until this window gets focus again. For some applications (e.g. gvim) it did even cause more serious problems. In gvim Japanese input became impossible as soon as the special symbol window got focus and received some keystrokes and one had to restart gvim. I fixed this for SuSE Linux 8.0 by adding the following lines to /usr/X11R6/lib/X11/app-defaults/Kinput2 *SeparateConversion.input: false *selectionShell.input: false *auxShell.input: false Please add them to your /usr/X11R6/lib/X11/app-defaults/Kinput2. These options avoid that the windows titled 'Kana-Kanji Conversion' 'Candidate Selection' 'Auxiliary Control' get focus. This works with most window managers except blackbox and WindowMaker, these two have a bug in focus handling and ignore these app-defaults settings. On top of that, blackbox and WindowMaker also give focus to the kinput2 mode window at the lower left of Mozilla which results in the problem you describe. Are you using blackbox or Windowmaker? With all the other window managers/desktops, the kinput2 mode window doesn't get focus, only blackbox and WindowMaker seem to have this problem. So with blackbox and WindowMaker you have to take care manually to keep the focus where you want to do Japanese input. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。