Bug #10115 2007-01-25 10:05

cnwesleywang

relative with chinese input method

I am using svn 3538 version in FC6, I got 2 problem's relative with chinese input method, I think other language which use xim may have same problem.

1: it is a very small problem, the codecomplete plugin using Ctrl+Space as the default shortcut, this shortcut is normally and widely used as the shortcut of open IME in chinese linux system, so by default, people can not open there IME to input chinese. I think change the shortcut to Ctrl+Alt+Space maybe more better.

2: after change the shortcut,people can use there favoured input methord to input chinese in the editor,but when using IME, sometimes people need LEFT or RIGHT or DEL or BACKSPACE key to operate the IME window, since inside codeblocks, we use EVT_KEY_DOWN to process these keys, the IME window can never receive these key event. so people who want modify the IME window will found the actually modified the editor window.

I have really pool english so I wonder if I have descript the problem clearly. anyway, for the problem 2, I think one solution is change the event handle for those keys from EVT_KEY_DOWN to EVT_CHAR, then the code for codeblocks will not influence the input method.

I have a patch for this and you can get it from http://cnwxwidgets.googlepages.com/ime.patch, maybe it is not perfect, just for a suggestion.

wesley.

Category
Application::Editor
Group
 
Status
Open
Close date
 
Assigned to
 
cnwesleywang 2007-01-25 10:09

sorry, I make a mistake,the patch is in http://wininlinux.googlepages.com/ime.patch

rickg22 2007-06-26 23:16

Has this bug been fixed yet?

Also, cnwesleywang, please update your patch (if you hadn't already) in the patch section.