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

Bug 335598

Summary: KeyBinding Support: event.widget not set in KeyEvents
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: stephan.leichtvogt, tbuschto, tjodes
Version: 1.4   
Target Milestone: 1.5 M5   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 335597    
Bug Blocks:    

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