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

Bug 335304

Summary: DateTime dropdown doesn't hide with arrow button
Product: [Eclipse Project] Platform Reporter: Lakshmi P Shanmugam <lshanmug>
Component: SWTAssignee: Scott Kovatch <skovatch>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: skovatch
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Lakshmi P Shanmugam CLA 2011-01-25 08:12:41 EST
Reproducible on Cocoa I20110124-1800 build

Steps:
1) Run the control example
2) In the DateTime control, select SWT.DATE and SWT.DROP_DOWN
3) Click on the arrow (dropdown) button in the control to open the dropdown calendar.
4) Click on the arrow button again, the dropdown calendar flashes but doesn't hide.
The arrow button should toggle the show/hide of the dropdown.
Comment 1 Scott Kovatch CLA 2011-01-31 15:29:19 EST
Clicking in the text field of the DateTime also hides the calendar, which is incorrect. A drop-down calendar should behave like a combo box, and stay open until a click in the popup or a click outside the control happens.

Fixed > 20110131.