| Summary: | [Compatibility] Cannot open external editors on FileStoreEditorInputs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Remy Suen <remy.suen> | ||||
| Severity: | major | ||||||
| Priority: | P3 | ||||||
| Version: | 1.0 | ||||||
| Target Milestone: | 4.1 M5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 333742 | ||||||
| Attachments: |
|
||||||
|
Description
Remy Suen
3.x trace as follows: Thread [main] (Suspended (breakpoint at line 266 in Program)) Program.launch(String) line: 266 EditorManager$4.run() line: 873 BusyIndicator.showWhile(Display, Runnable) line: 70 EditorManager.openSystemExternalEditor(IPath) line: 870 EditorManager.openEditorFromDescriptor(EditorDescriptor, IEditorInput, IMemento) line: 662 EditorManager.openEditor(String, IEditorInput, boolean, IMemento) line: 638 WorkbenchPage.busyOpenEditorBatched(IEditorInput, String, boolean, int, IMemento) line: 2860 WorkbenchPage.busyOpenEditor(IEditorInput, String, boolean, int, IMemento) line: 2768 WorkbenchPage.access$11(WorkbenchPage, IEditorInput, String, boolean, int, IMemento) line: 2760 WorkbenchPage$10.run() line: 2711 BusyIndicator.showWhile(Display, Runnable) line: 70 WorkbenchPage.openEditor(IEditorInput, String, boolean, int, IMemento) line: 2707 WorkbenchPage.openEditor(IEditorInput, String, boolean, int) line: 2691 WorkbenchPage.openEditor(IEditorInput, String) line: 2674 IDE.openEditorOnFileStore(IWorkbenchPage, IFileStore) line: 1155 OpenIDELogFileAction.run() line: 42 Created attachment 186271 [details]
WorkbenchPage patch v1
The editor code wasn't transforming a FileStoreEditorInput into an IPathEditorInput where possible (via adapters) so it tried to open the editor via the descriptor directly (which was not possible since there was no backing implementation class) instead of launching an external program.
(In reply to comment #2) > Created attachment 186271 [details] > WorkbenchPage patch v1 Patch released to CVS HEAD. Verified with I20110125-2200 on Windows XP. |