Community
Participate
Working Groups
Build Identifier: Eclipse 3.5.2 carbon 20100218-1602 Create an combo box, add an SelectionListener. On Windows, once the drop down list has been opened, press Enter key selects the item in the list first, press Enter again then triggered the SelectionListener.widgetDefaultSelected method. On Mac, the first Enter is the equivalent of selection and then triggered the SelectionListener.widgetDefaultSelected method. Reproducible: Always Steps to Reproduce: Create an combo box, add an SelectionListener. On Windows, once the drop down list has been opened, press Enter key selects the item in the list first, press Enter again then triggered the SelectionListener.widgetDefaultSelected method. On Mac, the first Enter is the equivalent of selection and then triggered the SelectionListener.widgetDefaultSelected method.
Created attachment 189773 [details] Plugin to reproduce the issue.
Run the attachment plugin in eclipse. Open the combo drop down list first.Move arrow key to select the list item. Then press the Enter key to select the item. On windows, once the drop down list has been opened, press Enter key selects the item in the list first, press Enter again then triggered the SelectionListener.widgetDefaultSelected method. On MAC(SWT-carbon), the first Enter is the equivalent of selection and then triggered the SelectionListener.widgetDefaultSelected method. But the eclipse 3.5.2 cocoa has no problem.We hope the SWT-carbon has the same behavior with windows and SWT-cocoa.
This issue can be reproduced with the SWT 3.6.2.
Closing report, platform is discontinued.