Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335304 - DateTime dropdown doesn't hide with arrow button
Summary: DateTime dropdown doesn't hide with arrow button
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Scott Kovatch CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 08:12 EST by Lakshmi P Shanmugam CLA
Modified: 2011-03-08 23:48 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.