Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335598 - KeyBinding Support: event.widget not set in KeyEvents
Summary: KeyBinding Support: event.widget not set in KeyEvents
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.5 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 335597
Blocks:
  Show dependency tree
 
Reported: 2011-01-27 13:30 EST by Ralf Sternberg CLA
Modified: 2012-01-05 06:11 EST (History)
3 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:30:54 EST
The KeyDown events issued for KeyBindings do not have the widget field set. Because of bug 335597, events for key bindings have "w1" set as their widget id and are determined by this id as key binding events. Instead of this, the id of the focused widget should be passed to the server and the event.widget field should be set accordingly. Currently, this would conflict with the separate handling described in bug 335597.

This issue does not affect the workbench key binding support but is inconsistent with SWT.
Comment 1 Tim Buschtoens CLA 2012-01-05 06:11:19 EST
Issue fixed together with Bug 335597 - Handle KeyListener events and ordinary KeyEvents alike