Project: SWT
Bug 270663 Combo.select() causes SelectionEvent
Reported: 2009-03-31 15:38:23 | Status: resolved fixed

If I recall correctly programatic access to Combo should not cause any events -- this was an SWT design choice. My application enters an infinite loop on Cocoa where setting the selection causes a SelectionEvent, the event causes code in the listener to be invoked, the listener sets the Combo selection, ad infinitum. The same issue doesn't occur on Windows or Carbon.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Combo.java