Community
Participate
Working Groups
OS: RedHat8.0 Eclipse Build: 200212181304 Stable Build (M4) JRE Version: J2RE 1.3.1 IBM build cxia32131-20021102 (JIT enabled: jitc) Abstract: Cannot wake up IME in the Editor view on Linux Re-produce steps: 1. Launch eclipse. 2. Open java file via Java Edit or Text Edit. 3. Press Ctrl+Space and try to wake up IME for GB18030 char input. Expected Result: It should wake up IME using Ctrl+Space in the Edit view. Execution Result: 1. Cannot wake up IME for GB18030 char input. 2. Cannot switch among several methods by pressing Ctrl+Shift. Comments: 1. This problem occurs on GTK driver with both JDK1.3.1 and JDK1.4.0. 2. This problem occurs on Motif driver with both JDK1.3.1 and JDK1.4.0. 3. We remove the Key Bindings for Ctrl + Space, and the problem still exist. Please refer to =>RemoveHotKeyBinding.jpg 4. We can wake up IME by pressing Ctrl+Space and switch among several methods by pressing Ctrl+Shift with gEdit,StarOffice and other applications. 5. We can use Ctrl+Space to wake up IME on some panels with GTK build and some with Motif build, for example: 1) Click Windows->Preference->Application Server, for the "Host name or IP address" edit box: GTK build (with both JDK1.3.1 and JDK1.4.0) cannot wake up IME. Motif build (with both JDK1.3.1 and JDK1.4.0) can wake up IME. 2) Click Search->Java Search, for the "search string" edit box: GTK build (with both JDK1.3.1 and JDK1.4.0) can wake up IME. Motif build (with both JDK1.3.1 and JDK1.4.0) can wake up IME. 3) Click File->Import->File system, for the "Directory" edit box: GTK build (with both JDK1.3.1 and JDK1.4.0) cannot wake up IME. Motif build (with both JDK1.3.1 and JDK1.4.0) can wake up IME. 4) Click Windows->Preference->WorkBench->Path Variables, then click New button, for the "Variable name" edit box: GTK build (with both JDK1.3.1 and JDK1.4.0) can wake up IME. Motif build (with both JDK1.3.1 and JDK1.4.0) can wake up IME.
Created attachment 3171 [details] Screen shot of RemoveHotKeyBinding.jpg
After modifying the eclipse config file, as suggested by Cam Le, I can wake up IME in the Editor view on Linux. The file is: eclipse_install_dir\org.eclipse.jdt.ui_2.1.0\plugin.xml I modify two places: 1. line:1893 <accelerator key="Ctrl+Space" id="org.eclipse.jdt.ui.edit.text.java.content.assist.proposals" /> 2. line: 1968 <accelerator key="Command+Space" id="org.eclipse.jdt.ui.edit.text.java.content.assist.proposals" platform="carbon" /> After commenting the above two lines, I can wake up IME in the Editor view on Linux.
Appended comment as 5.(5), 6 5) Click File->New->Project, then click Next button, for the "Project name" edit box: GTK build (with both JDK1.3.1 and JDK1.4.0) cannot wake up IME. Motif build (with both JDK1.3.1 and JDK1.4.0) can wake up IME. 6. With GTK build, when we try to rename a project name with GB18030 chars (By menu Refactor->Rename...), it works fine.
On which locale are you running? Our configuration file contains explicit code that redefines the Content Assist action for Chinese locales. Moving to Platform UI for the following two points. 1) Handling of Chinese locales. (Tod is the internationalization wizard.) 2) Checking whether undefining actions in the key binding UI does not solve the problem.
Tod and Chris, please investigate the issues Kai mentions.
Please see SWT Bug 29979 - there is a general problem with using the IME in Linux - I don't think it is related to Key Bindings. The remapping of content assist is an orthogonal problem to this - the Ctrl- Space is taken by the OS before key bindings get it.
1. We still cannot wake up IME in Java Edit and Text Edit in GTK 2.2. 2. We can wake up IME on the panels mentioned by above Comments 5 in GTK 2.2. 3. It seems that it works only for single-line text widget, it doesn't work for multi-line text widget.
Verified with M5 build. Same bug still exists: can NOT wake up IME in Java Editor and Text Editor. In GTK 2.0.6, can wake up IME for the editbox mentioned in comment 5.2), 5.3) and 5.4), can NOT wake up IME for the editbox mentioned in comment 5.5) When I upgrade to GTK 2.2.0, can wake up IME for all the editbox mentioned above.
For GTK 2.0.6 and GTK 2.2.0, appended comment as 5.(6) - 5.(9) 6) Click Menu Run...->Arguments Tab, in the Program Arguments Editbox and VM Arguments Editbox. In GTK 2.0.6 Can not wake up IME in GTK 2.2.0 Can wake up IME 7) Click Menu File->Export...->JAR file, in the jar file name editbox. In GTK 2.0.6 Can not wakeup IME In GTK 2.2.0 Can wakeup IME 8) Click File->new Class, in the class name editbox. Can wakeup IME in both in GTK 2.0.6 and GTK 2.2.0, 9) Click File->new Other...->Java Class, in the class name editbox. In GTK 2.0.6 Can not wakeup IME In GTK 2.2.0 Can wakeup IME
verified with RC1 build. This bug is fixed.
Marking as fixed.
Marking as verified.