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

Bug 321246

Summary: Statemask missing for Ctrl sequenced characters
Product: [Eclipse Project] Platform Reporter: Benjamin Gold <benjamin_gold>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: benjamin_gold, eclipse.felipe
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Benjamin Gold CLA 2010-07-29 12:07:20 EDT
Build Identifier: 3.4.2

When a keyEvent occurs on a Text field, if the keyboard is using French Canadian Multilingual and the key sequence is created using the right Control key, the statemask for the keyEvents is 0, instead of the expected mask for Control.  This behavior differs from shift and right-alt key strokes, which both augment the state mask appropriately.

Reproducible: Always

Steps to Reproduce:
1.  Configure Windows to use the French Canadian Multilingual Standard keyboard layout
2.  While the Eclipse application is running, change its keyboard to use the canadian multilingual
3.  Type a right-control keystroke, such as Ctrl-1, Ctrl-2, etc.
Comment 1 Felipe Heidrich CLA 2010-08-09 15:22:07 EDT
That is because in the Canadian Multilingual layout the right ctrl is not a regular ctrl key. It is some special modifier. See 
http://en.wikipedia.org/wiki/Keyboard_layout#Canadian_Multilingual_Standard

In Notepad, try right_ctrl+a, in the Canadian Multilingual layout instead of running the select all action the key stroke will input "æ".

Closing as not Eclipse.