Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335753 - [DateTime] Editing with keyboard does not work
Summary: [DateTime] Editing with keyboard does not work
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: 1.4 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-29 01:14 EST by Timothy Arceri CLA
Modified: 2011-02-01 09:31 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 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