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

Bug 335753

Summary: [DateTime] Editing with keyboard does not work
Product: [RT] RAP Reporter: Timothy Arceri <t_arceri>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto, t_arceri
Version: 1.4   
Target Milestone: 1.4 M6   
Hardware: Other   
OS: other   
Whiteboard:

Description Timothy Arceri CLA 2011-01-29 01:14:49 EST
Build Identifier: RAP 1.4 M4

Using DateTime as in the code below, it is only possible to change the date with the drop down box. You can select the day/month/year but it does not allow you to enter new values via the keyboard. 

DateTime calendar = new DateTime (shell, SWT.DATE | SWT.DROP_DOWN);

I have tested in both IE 8 and Firefox 4 with the same result.

Reproducible: Always

Steps to Reproduce:
1. Create datetime as in the code above
2. Select day, month or year
3. Use keyboard to try change the value
Comment 1 Ivan Furnadjiev CLA 2011-01-29 05:45:20 EST
I found that in DateTimeDate.js#_onKeyUp and DateTimeTime.js#_onKeyUp the evt.getKeyIdentifier() returns "Unidentified" for if you type numbers.
Comment 2 Tim Buschtoens CLA 2011-02-01 09:31:26 EST
Fixed in CVS HEAD in EventHandlerUtil.js