Project: Eclipse_Platform_UI
Bug 306821 [Compatibility] Status line contributions are not disposed
Reported: 2010-03-23 10:10:16 | Status: resolved fixed

1. Synchronize a project that has changes. 2. The 'Synchronize' view shows up displaying the changes and the change indicators are displayed in the status line. 3. Close the 'Synchronize' view. 4. The change indicators are still there. 5. Alt+Tab and then Alt+Tab back to Eclipse. 6. SWTExceptions are thrown. org.eclipse.swt.SWTException: Graphic is disposed at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.graphics.Image.getBounds(Image.java:1160) at org.eclipse.swt.custom.CLabel.getTotalSize(CLabel.java:262) at org.eclipse.swt.custom.CLabel.onPaint(CLabel.java:407) at org.eclipse.swt.custom.CLabel$1.paintControl(CLabel.java:120) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1074) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1059) at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1555) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4195) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4843) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2456) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3626) at org.eclipse.e4.ui.workbench.swt.internal.PartRenderingEngine$5.run(PartRenderingEngine.java:554)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewSite.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/ActionBars.java