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

Bug 364171

Summary: cannot just type figures if not yet a date is assigned
Product: z_Archived Reporter: Reto Urfer <reto.urfer>
Component: NebulaAssignee: Wim Jongman <wim.jongman>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: peter.pfeifer, peter, sedavhikh, stephen.totten, wim.jongman
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
modified handleKey method whith the described enhancement
none
mylyn/context/zip none

Description Reto Urfer CLA 2011-11-18 10:38:59 EST
Build Identifier: 

if the CDateTime widget is created with CDT.DROP_DOWN and it does not yet display any date you can not set the initial date by just typing figures. You first have to open the calendar combo and choose the initial date there.

Reproducible: Always

Steps to Reproduce:
.
Comment 1 Reto Urfer CLA 2011-11-18 10:43:21 EST
Created attachment 207224 [details]
modified handleKey method whith the described enhancement

if the handleKey(Event) method is modified as in the attached code fragment it is possible to just start typing figures
Comment 2 Wim Jongman CLA 2011-12-12 07:50:25 EST
Please provide a patch instead of a single method. This will speed things up. It would also be excellent if you could provide a test case. Please use any of the existing tests as an example.
Comment 3 Wim Jongman CLA 2011-12-12 09:15:28 EST
Never mind. I managed to reproduce and create a test case. Thanks for the patch. The changes can be picked up from the repo and the build should be available from the nebula download page.
Comment 4 Wim Jongman CLA 2011-12-12 09:15:30 EST
Created attachment 208262 [details]
mylyn/context/zip
Comment 5 Wim Jongman CLA 2011-12-12 09:18:31 EST
Released to HEAD
Comment 6 Wim Jongman CLA 2011-12-12 16:06:03 EST
*** Bug 296334 has been marked as a duplicate of this bug. ***
Comment 7 Wim Jongman CLA 2011-12-12 16:07:03 EST
*** Bug 279778 has been marked as a duplicate of this bug. ***
Comment 8 Wim Jongman CLA 2011-12-12 16:08:50 EST
*** Bug 289294 has been marked as a duplicate of this bug. ***