Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321246 - Statemask missing for Ctrl sequenced characters
Summary: Statemask missing for Ctrl sequenced characters
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 12:07 EDT by Benjamin Gold CLA
Modified: 2010-08-09 15:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.