Project: SWT
Bug 271765 toolitem enables on wrong status
Reported: 2009-04-09 09:43:57 | Status: resolved fixed

A ToolItem t1, style PUSH, is being disabled with setEnabled(false) in the SelectionListener method, after being pushed and some code executed. When enabled, as consequence of another action, the status appears to be as if the mouse would be still over it, although it is not. I noticed the behavior occurs when disabled on the push (perhaps the status is not being updated and when enabled it is being repainted exactly how it was when disabled), but this is only good if the mouse would be over it on the moment of enabling. I use Ubuntu 8.10, GTK Thank you very much. This entire platform rocks. Best regards,

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java