| Summary: | [EditorMgmt] too successful at opening an editor on non-existent file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jim des Rivieres <jeem> | ||||
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | Remy Suen <remy.suen> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, dmaliarevich, eduardo_pereira, piotr.aniola | ||||
| Version: | 2.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jim des Rivieres
The editor is created by "Text". >The editor is created by "Text".
Sure but because we were told to be opened the editor ;-)
The OpenFileAction could check whether the file exists. Another place where this could be implemented is IDE.openEditor(*).
Moving to Platform UI who owns the action.
Remy is now responsible for watching the [EditorMgmt] component area. *** Bug 296920 has been marked as a duplicate of this bug. *** >*** Bug 296920 has been marked as a duplicate of this bug. ***
Actually not: the delete action should close the editors before deletion.
Bug 296920(In reply to comment #5) > >*** Bug 296920 has been marked as a duplicate of this bug. *** > Actually not: the delete action should close the editors before deletion. So to my mind Bug 296920 should be reopened in this case. (In reply to comment #6) > Bug 296920(In reply to comment #5) > > >*** Bug 296920 has been marked as a duplicate of this bug. *** > > Actually not: the delete action should close the editors before deletion. > > So to my mind Bug 296920 should be reopened in this case. We'll use bug 41431 to cover both cases. Created attachment 239577 [details]
Error message file not found
I cannot reproduce, I get an error popup when following the scenario (In reply to Piotr Aniola from comment #9) > I cannot reproduce, I get an error popup when following the scenario Yes, that's because of 'Refresh on access' now being true. If this is disabled, then you still get the editor, but since a few years now, this editor allows to refresh the file. |