Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 7728

Summary: Ctrl-Space cannot be used on Simplified Chinese
Product: [Eclipse Project] JDT Reporter: Tod Creasey <Tod_Creasey>
Component: UIAssignee: Kai-Uwe Maetzel <kai-uwe_maetzel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P4 CC: loyah, n.a.edgar, simon_arsenault
Version: 2.0Keywords: accessibility
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Tod Creasey CLA 2002-01-16 10:29:35 EST
On Windows 2000 Simplified Chinese using an English keyboard Ctrl-Space is 
mapped to change mode.

As a result the use of Ctrl-Space for code completion does not work in Chinese. 
However it does not prevent the OS from switching modes so have a locale 
specific accelerator would be suffecient to solve this.
Comment 1 Erich Gamma CLA 2002-01-17 04:22:39 EST
Configurable key binding support will allow the user to change the key.
Is the suggestion to add a locale specific key binding for code assist?
This doesn't seem to be right solution. There might be other key bindings that 
should be locale and platform specific. 
Comment 2 Nick Edgar CLA 2002-01-17 09:22:44 EST
No action required at this stage, but we should keep this in mind.

It's only a problem on Simplified Chinese, which although it may be an 
important locale, is not an officially supported locale for 2.0.
We should wait for the key binding story.

In general, though, we currently try to use keys that work in all locales and 
platforms, for consistency, and because we don't currently have a good story 
for locale- and platform-specific key bindings.
Comment 3 Tod Creasey CLA 2002-01-17 09:53:14 EST
This locale is supported on 1.0 - we ship fragments for traditional and 
simplied Chinese (code zh_CW). I would expect the same 2.0.
Comment 4 Tod Creasey CLA 2002-03-06 09:33:07 EST
Ctrl+K was used in 1.0. for Chinese.
Comment 5 Tod Creasey CLA 2002-03-14 13:15:52 EST
Does not affect section 508.
Comment 6 Nick Edgar CLA 2002-05-06 18:42:18 EDT
With the keybinding support, it may suffice to define a secondary keybinding 
for code assist.  This will work as long as our use of Ctrl+Space does not 
block the IME from being activated.
Comment 7 Tod Creasey CLA 2002-05-07 07:40:47 EDT
This will be fine - the IME is activated before Eclipse so it is Eclipse that 
loses the Ctrl-Space.
Comment 8 Kai-Uwe Maetzel CLA 2002-06-05 15:17:47 EDT
Build F2.
Comment 9 Nick Edgar CLA 2002-06-05 15:40:44 EDT
Kai, how did you fix this?  By adding a second key binding?
Comment 10 Nick Edgar CLA 2002-06-06 12:27:59 EDT
There are duplicate key bindings for content assist in org.eclipse.jdt.ui's 
plugin.xml.

Ctrl+2 for Content Assist (usually Ctrl+Space).
Ctrl+Shift+2 for Parameter Hints (usually Ctrl+Shift+Space).

These only take effect when in the zh_CN locale.