Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358647 - [Forms] Graphics disposed in form editor due to redraw of disabled image - Fix for Eclipse 3.7.2
Summary: [Forms] Graphics disposed in form editor due to redraw of disabled image - Fi...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7.2   Edit
Assignee: Chris Goldthorpe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 358315
Blocks:
  Show dependency tree
 
Reported: 2011-09-22 14:42 EDT by Chris Goldthorpe CLA
Modified: 2011-10-11 15:23 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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