| Summary: | ensure that editors opened as a result of task activation match those when closed | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Lubos Pochman <pochmans> |
| Component: | Mylyn | Assignee: | Mik Kersten <mik.kersten> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.8 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Lubos Pochman
And I also noticed, that some of the original (3) java editors is NOT opened after restart. Do you have auto-editor closing turned on? On the activation of task context Mylar will open the editors needed to show the files in the task context, so that may be what you are seeing. Please try deactivating the task, activating it, note the number of editors, then restart and let me know if there are more, and if there are, whether the corresponding files show up in the Package Explorer with the "Focus.." button applied. I do not have auto-editor closing turned on, should I? I might understand that some editors are not opened (not intuitive, I would prefer same set of editors I seen the last time), but what is bad is that it randomly opens other editors, even files that were never open in this task context (or any other task context). I would argue that is serious problem (probably the biggest I have seen with 0.8 so far). It is not malicious, but it is annoying. I think that Mylar should be predictable in this area. If you had three editors A,B,C opened in the task context, after you restart eclipse or deactivate/activate the task, you should get the same three editors A,B,C. OK, just tried to activate/deactivate tasks and the same problem happens during active task switching (but not always). For example I have 4 editors opened. I close 2 of them, switch to another task and then switch back, and the previously closed editors are opened again (but when I do the same one more time they are not opened any more). Worse case is that some times it even opens some class editor files (files that do not have .java source), which I might have displayed some long time ago during debugging. Could you please provide minimal steps to reproduce? I can not reproduce opening an editor that does not correspond to an interesting file when activating. It happens to me relatively often, but not all the time. As I said before, I believe that Mylar should be predictable in this area. If you had three editors A,B,C opened in the task context, after you restart eclipse or deactivate/activate the task, you should get the same three editors A,B,C. And on top of it I sometimes see editors with files from other projects, than the tasks was addressing (never opened in that context). I think all this would be resolved by Mylar keeping the open editors context on task switch and predictably restore the same set of editors. *** This bug has been marked as a duplicate of bug 145876 *** |