Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358647

Summary: [Forms] Graphics disposed in form editor due to redraw of disabled image - Fix for Eclipse 3.7.2
Product: [Eclipse Project] Platform Reporter: Chris Goldthorpe <cgold>
Component: User AssistanceAssignee: Chris Goldthorpe <cgold>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cgold, remy.suen, robert.munteanu, shawn.minto, steffen.pingel, thomas.ehrnhoefer
Version: 3.7   
Target Milestone: 3.7.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 358315    
Bug Blocks:    

Description Chris Goldthorpe CLA 2011-09-22 14:42:20 EDT
+++ This bug was initially created as a clone of Bug #358315 +++

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.
Comment 1 Chris Goldthorpe CLA 2011-10-11 15:23:40 EDT
Fixed in the R3_7_maintenance and R4_1_maintenance branches. In both cases the commit message is:

Bug 358647 - [Forms] Graphics disposed in form editor due to redraw of
disabled image - Fix for Eclipse 3.7.2