Bug 43011 - "Alt+" key strokes not always received on "zh_CN.GB18030"
Summary: "Alt+" key strokes not always received on "zh_CN.GB18030"
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords: nl
Depends on:
Blocks: 42689
  Show dependency tree
 
Reported: 2003-09-12 09:38 EDT by Douglas Pollock CLA
Modified: 2003-09-12 14:30 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 Douglas Pollock CLA 2003-09-12 09:38:05 EDT
Key strokes including the "Alt+" modifier are not received as expected by SWT in
the "zh_CN.GB18030".


ENVIRONMENT:
Eclipse-GTK (I20030910), GNOME/Metacity, RedHat 9.0, Sun JDK 1.4.2,
locale="zh_CN.GB18030"


STEPS TO REPRODUCE:
1.) Run snippet #25 from the SWT development homepage (key logger)
2.) Press and hold "Alt".
3.) Press and release "F" three times.
4.) Release "Alt".


ACTUAL RESULTS:
DOWN: stateMask=0x0, keyCode=0x10000, character=0x0 '\0'
DOWN: stateMask=0x0, keyCode=0x0, character=0x66 'f'
UP  : stateMask=0x10000 ALT, keyCode=0x0, character=0x66 'f'
DOWN: stateMask=0x0, keyCode=0x0, character=0x66 'f'
UP  : stateMask=0x10000 ALT, keyCode=0x0, character=0x66 'f'
DOWN: stateMask=0x0, keyCode=0x0, character=0x66 'f'
UP  : stateMask=0x10000 ALT, keyCode=0x0, character=0x66 'f'
UP  : stateMask=0x10000 ALT, keyCode=0x10000, character=0x0 '\0'


EXPECTED RESULTS:
The DOWN key events should have the "ALT" state mask.
Comment 1 Felipe Heidrich CLA 2003-09-12 14:30:57 EDT
Fixed in HEAD (>20030912)