Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330835 - [Compatibility] Clicking on 'Search' dropdown tool item multiple times kills it
Summary: [Compatibility] Clicking on 'Search' dropdown tool item multiple times kills it
Status: RESOLVED WORKSFORME
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 13:13 EST by Remy Suen CLA
Modified: 2011-03-11 08:55 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 Remy Suen CLA 2010-11-22 13:13:40 EST
Click the 'Search' dropdown arrow once, let it go. Then click it again, it's dead.

org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4091)
	at org.eclipse.swt.SWT.error(SWT.java:4006)
	at org.eclipse.swt.SWT.error(SWT.java:3977)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
	at org.eclipse.swt.widgets.Menu.setLocation(Menu.java:1427)
	at org.eclipse.e4.ui.workbench.renderers.swt.ToolItemRenderer$5.widgetSelected(ToolItemRenderer.java:315)
Comment 1 Remy Suen CLA 2010-11-22 13:27:10 EST
OpenSearchDialogPageAction's fillMenu(Menu) disposes the menu at will.
Comment 2 Paul Webster CLA 2010-11-22 13:37:45 EST
If it's disposed, we need to run through the re-creation code again.

PW
Comment 3 Remy Suen CLA 2011-03-11 08:55:52 EST
Seems to be working now on I20110310-2200.