Bug 8130 - Widget is disposed error when tabbing on linux
Summary: Widget is disposed error when tabbing on linux
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux-Motif
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin Haaland CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-23 10:14 EST by Veronika Irvine CLA
Modified: 2002-01-23 13:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Veronika Irvine CLA 2002-01-23 10:14:59 EST
Eclipse build 20020122-I

Use Ctrl tab to get to Combo box in toolbar.
Use Ctrl arrow key to get the drop down list and arrow in the list to change 
perspective.
This causes the perspective to change immediately - aside - shouldn't Eclipse 
use default selection rather than selection to determine that the combo box has 
changed value?
After the perspective has changed, hit Ctrl Tab and you get a Widget is 
disposed error.

I believe that items are being set in the Tab list by Eclipse, then when the 
perspective changes, the items are being disposed but the TabList is not being 
updated.

Get the following log:

Log: Wed Jan 23 09:47:50 EST 2002
1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Log: Wed Jan 23 09:47:50 EST 2002
4 org.eclipse.ui 0 Widget is disposed
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:1887)
	at org.eclipse.swt.SWT.error(SWT.java:1819)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:283)
	at org.eclipse.swt.widgets.Control.getDisplay(Control.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Widget.isValidThread(Widget.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Control.getVisible(Control.java:898)
	at org.eclipse.swt.widgets.Control.computeTabList(Control.java:391)
	at org.eclipse.swt.widgets.Composite.computeTabList(Composite.java:144)
	at org.eclipse.swt.widgets.Composite.computeTabList(Composite.java:149)
	at org.eclipse.swt.widgets.Composite.computeTabList(Composite.java:149)
	at org.eclipse.swt.widgets.Composite.computeTabList(Composite.java:149)
	at org.eclipse.swt.widgets.Control.traverseGroup(Control.java:2586)
	at org.eclipse.swt.widgets.Control.traverse(Control.java:2543)
	at org.eclipse.swt.widgets.Control.translateTraversal(Control.java:2521)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:548)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1419)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:844)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:827)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:878)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:321)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
	at org.eclipse.core.launcher.Main.run(Main.java:502)
	at org.eclipse.core.launcher.Main.main(Main.java:362)
Comment 1 Steve Northover CLA 2002-01-23 13:55:06 EST
Fixed in SWT > 20020122.
Comment 2 Steve Northover CLA 2002-01-23 13:56:05 EST
Oops ...

Fixed in SWT > 20020123.