Project: SWT
Bug 188567 TreeEditor closes CCombo after 500ms
Reported: 2007-05-23 02:46:15 | Status: resolved fixed

M7 TreeEditor registers a timer that sets the focus on the control (in ControlEditor.layout()) after 500ms. This closes an already dropped-down CCombo. Snippet follows, wrapping the CCombo in a Composite seems to work around the problem.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableEditor.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TreeEditor.java