Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335597 - Handle KeyListener events and ordinary KeyEvents alike
Summary: Handle KeyListener events and ordinary KeyEvents alike
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 1.5 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 335598
  Show dependency tree
 
Reported: 2011-01-27 13:24 EST by Ralf Sternberg CLA
Modified: 2012-01-05 06:11 EST (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 Ralf Sternberg CLA 2011-01-27 13:24:19 EST
Currently, the events for key bindings and for SWT key listeners are handled separately. For some obscure reasons that relate to the different event types (key down, key press) and event fields (key code, char code, modifiers etc.) in the browser and and in SWT, both have to undergo different translations on the server.

We should revise those translations and handle all key events in the same way on the server. This would allow us to get rid of a lot of duplicated code in KeyBindingUtil.
Comment 1 Tim Buschtoens CLA 2012-01-05 06:10:46 EST
Fixed in CVS HEAD.