Project: SWT
Bug 82531 Missing selectionEvent when disposing TreeItem
Reported: 2005-01-11 00:56:42 | Status: resolved fixed

When I remove a TreeItem from my Tree by using TreeItem.dispose() another item is 'armed' (as in 'ready to be selected' - on Windows the item has normal font color and grey background) as opposed to 'selected' (on Windows inverted font color and dark blue background). The important part is this: When this happen in 3.0.1 a selectionEvent is sent. In 3.1M4 this event is missing. AFAICS this means you have no control over where the current selection is in the Tree before the user selects another item.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java