| Summary: | [Compatibility] Close editors with non-persistable editor inputs on shutdown | ||
|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> |
| Component: | UI | Assignee: | Remy Suen <remy.suen> |
| Status: | RESOLVED FIXED | QA Contact: | Remy Suen <remy.suen> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.0 | ||
| Target Milestone: | 1.0 RC0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Remy Suen
Remy, do you know if this is also true for other types of non-resource related 'editors' (i.e. opening an editor from the CVS view)? (In reply to comment #1) > Remy, do you know if this is also true for other types of non-resource related > 'editors' (i.e. opening an editor from the CVS view)? Both the compare editor and the editor on a remote file is non-existent upon restarting in 3.x. Need to remove an editor if it's not persistable. Thread [main] (Suspended) EditorManager$10.run() line: 1542 SafeRunner.run(ISafeRunnable) line: 42 EditorManager.saveEditorState(IMemento, IEditorReference, MultiStatus) line: 1533 EditorManager.saveState(IMemento) line: 1416 WorkbenchPage.saveState(IMemento) line: 3407 WorkbenchWindow.saveState(IMemento) line: 2761 Workbench.saveState(IMemento) line: 2668 Workbench.recordWorkbenchState() line: 2203 Workbench.access$11(Workbench) line: 2200 Workbench$17.run() line: 1076 SafeRunner.run(ISafeRunnable) line: 42 Workbench.busyClose(boolean) line: 1074 Workbench.access$15(Workbench, boolean) line: 1031 Workbench$25.run() line: 1275 BusyIndicator.showWhile(Display, Runnable) line: 70 Workbench.close(int, boolean) line: 1273 Workbench.close() line: 1245 WorkbenchWindow.busyClose() line: 731 WorkbenchWindow.access$0(WorkbenchWindow) line: 710 WorkbenchWindow$5.run() line: 826 BusyIndicator.showWhile(Display, Runnable) line: 70 WorkbenchWindow.close() line: 824 WorkbenchWindow(Window).handleShellCloseEvent() line: 741 Window$3.shellClosed(ShellEvent) line: 687 TypedListener.handleEvent(Event) line: 98 EventTable.sendEvent(Event) line: 84 Shell(Widget).sendEvent(Event) line: 1052 Shell(Widget).sendEvent(int, Event, boolean) line: 1076 Shell(Widget).sendEvent(int, Event) line: 1061 Shell(Decorations).closeWidget() line: 308 Shell(Decorations).WM_CLOSE(int, int) line: 1665 Shell(Control).windowProc(int, int, int, int) line: 4161 Shell(Canvas).windowProc(int, int, int, int) line: 341 Shell(Decorations).windowProc(int, int, int, int) line: 1598 Shell.windowProc(int, int, int, int) line: 2038 Display.windowProc(int, int, int, int) line: 4873 OS.DefWindowProcW(int, int, int, int) line: not available [native method] OS.DefWindowProc(int, int, int, int) line: 2454 Shell.callWindowProc(int, int, int, int) line: 497 Shell(Control).windowProc(int, int, int, int) line: 4250 Shell(Canvas).windowProc(int, int, int, int) line: 341 Shell(Decorations).windowProc(int, int, int, int) line: 1598 Shell.windowProc(int, int, int, int) line: 2038 Display.windowProc(int, int, int, int) line: 4873 OS.DefWindowProcW(int, int, int, int) line: not available [native method] OS.DefWindowProc(int, int, int, int) line: 2454 Shell.callWindowProc(int, int, int, int) line: 497 Shell(Control).windowProc(int, int, int, int) line: 4250 Shell(Canvas).windowProc(int, int, int, int) line: 341 Shell(Decorations).windowProc(int, int, int, int) line: 1598 Shell.windowProc(int, int, int, int) line: 2038 Display.windowProc(int, int, int, int) line: 4873 OS.DispatchMessageW(MSG) line: not available [native method] OS.DispatchMessage(MSG) line: 2459 Display.readAndDispatch() line: 3655 Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2629 Workbench.runUI() line: 2593 Workbench.access$4(Workbench) line: 2427 Workbench$7.run() line: 670 Realm.runWithDefault(Realm, Runnable) line: 332 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 663 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149 IDEApplication.start(IApplicationContext) line: 115 EclipseAppHandle.run(Object) line: 196 EclipseAppLauncher.runApplication(Object) line: 110 EclipseAppLauncher.start(Object) line: 79 EclipseStarter.run(Object) line: 369 EclipseStarter.run(String[], Runnable) line: 179 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available Method.invoke(Object, Object...) line: not available Main.invokeFramework(String[], URL[]) line: 619 Main.basicRun(String[]) line: 574 Main.run(String[]) line: 1407 Main.main(String[]) line: 1383 Editors with non-persistable editor inputs are now discarded. |