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

Bug 337883

Summary: Keybinding ESC key not working
Product: [RT] RAP Reporter: Jesus Luna Quiroga <jrlq>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jrlq, swimmer_86
Version: unspecified   
Target Milestone: 1.4 M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Configuration
none
Code none

Description Jesus Luna Quiroga CLA 2011-02-22 14:07:18 EST
Build Identifier: RAP 1.4 M5

The ESC key seems to have a problem when it is bound to an action, I attached a file with the configuration used for the keybinding in the plugin.xml and another file with the code that registers the action. 
Every other key I've tested works fine.



Reproducible: Always
Comment 1 Jesus Luna Quiroga CLA 2011-02-22 14:08:31 EST
Created attachment 189530 [details]
Configuration
Comment 2 Jesus Luna Quiroga CLA 2011-02-22 14:11:04 EST
Created attachment 189531 [details]
Code
Comment 3 Ivan Furnadjiev CLA 2011-03-01 04:05:08 EST
In RCP the ESC and DEL keys are called "out-of-order" keys and they are processed in a different way in WorkbenchKeyboard#filterKeySequenceBindings. As "out-of-order" processing is not supported in RAP ( org.eclipse.swt.custom.VerifyKeyListener is missing ), now ESC and DEL key are processed in the standard way. Fixed by changing the WorkbenchKeyboard#isOutOfOrderKey() to always return false.
Comment 4 Ivan Furnadjiev CLA 2011-03-01 06:07:10 EST
Please note that we found another issue - bug 338523, related to ESC keybinding.