Project: Eclipse_Platform_UI
Bug 184914 [Dialogs] Leaked cursor opening wizard from Quick Access
Reported: 2007-05-01 12:10:18 | Status: verified fixed

Build: I20070501-0010 1) Capture sleak snapshot 2) Ctrl+3, "nut" (new untitled text file) 3) Close the resulting editor 4) Capture sleak diff -> A cursor is leaked each time I follow these steps. I could not reproduce by opening the wizard through the normal wizard dialog, so perhaps this is a strange quirk of quick access. java.lang.Error at java.lang.Throwable.<init>(Throwable.java:56) at org.eclipse.swt.graphics.Device.new_Object(Device.java:787) at org.eclipse.swt.graphics.Cursor.<init>(Cursor.java:230) at org.eclipse.jface.dialogs.TrayDialog.createHelpImageButton(TrayDialog.java:198) at org.eclipse.jface.dialogs.TrayDialog.createHelpControl(TrayDialog.java:185) at org.eclipse.jface.dialogs.TrayDialog.createButtonBar(TrayDialog.java:161) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:148) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:541) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081) at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:114) at org.eclipse.ui.internal.incubator.WizardElement.execute(WizardElement.java:41) at org.eclipse.ui.internal.incubator.CtrlEAction$QuickAccessPopup.handleElementSelected(CtrlEAction.java:289) at org.eclipse.ui.internal.incubator.FilteringInfoPopup$5.keyPressed(FilteringInfoPopup.java:309) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:154) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:975) at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1299) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:971) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1285) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3764) at org.eclipse.swt.widgets.Text.WM_CHAR(Text.java:2013) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3664) at org.eclipse.swt.widgets.Text.windowProc(Text.java:2008) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4342) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2257) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3282) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2365) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2329) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2204) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:101) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:480) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:419) at org.eclipse.equinox.launcher.Main.run(Main.java:1145) at org.eclipse.equinox.launcher.Main.main(Main.java:1120)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/actions/NewWizardShortcutAction.java