Project: Eclipse_Platform_UI
Bug 358315 [Forms] Graphics disposed in form editor due to redraw of disabled image
Reported: 2011-09-20 18:21:19 | Status: resolved fixed

It appears that since 3.7 Forms is disposing of an image it later tries to repaint. We have a special task editor with an image appearing on-hover. If one hovers once, then submits the editor, immediatelya graphic is disposed exception is thrown. Further investigation showed that the disabled image is getting disposed, but something is triggering a repaint afterwards not checking for disposed widgets.

Files changed in fix:
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/ImageHyperlink.java