Project: SWT
Bug 43610 'Shift+Alt+' gives 0x00 as key code and character
Reported: 2003-09-24 16:28:16 | Status: resolved fixed

Using snippet #25 on Eclipse-GTK-I20030924 (GNOME), do the following: 1.) Press and hold 'Shift' 2.) Press and release 'Alt' 3.) Release 'Shift' OBSERVED RESULTS: DOWN: stateMask=0x0, keyCode=0x20000, character=0x0 '\0' DOWN: stateMask=0x20000 SHIFT, keyCode=0x0, character=0x0 '\0' UP : stateMask=0x30000 ALT SHIFT, keyCode=0x0, character=0x0 '\0' UP : stateMask=0x20000 SHIFT, keyCode=0x20000, character=0x0 '\0' DESIRED RESULTS: keyCode=0x10000 on the second key down.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java