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

Bug 332003

Summary: dropdown calendar of datetime widget doesn't hide
Product: [Eclipse Project] Platform Reporter: Lakshmi P Shanmugam <lshanmug>
Component: SWTAssignee: Scott Kovatch <skovatch>
Status: RESOLVED FIXED QA Contact: Silenio Quarti <Silenio_Quarti>
Severity: normal    
Priority: P3 CC: skovatch
Version: 3.6   
Target Milestone: 3.7 M5   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Lakshmi P Shanmugam CLA 2010-12-07 06:49:11 EST
Build: Build id: I20101206-1800

Steps to reproduce:
1) Run the ControlExample
2) In the DateTime tab set the style to SWT.DATE and SWT.DROP_DOWN
3) Open the dropdown calendar
4) Switch to another application like firefox, textedit
The dropdown calendar is still visible on top of the other application.
Expected : the calendar should be hidden when we switch to another application.

A related issue: The DateTime widget should get focus when we click on the dropdown button. Because this doesn't happen, the focus is on a different control and we can traverse between different controls while the dropdown calendar is still visible.
Comment 1 Scott Kovatch CLA 2010-12-07 12:14:55 EST
Yep, you are correct. Actually, any mouse activity outside the control should hide the drop-down, much like a ComboBox.

I'll look at it post-M4.
Comment 2 Scott Kovatch CLA 2010-12-13 20:22:33 EST
Fixed > 20101213.