Community
Participate
Working Groups
Version: 3.1.0 Build id: I20050509-2010 Steps to reproduce: 1.) Open a File twice in the Editor (Using Window > New Editor) 2.) Change something in the first Editor without Saving 3.) Call "Close All" Actual Results: The "Save Resources" Dialog shows up telling me that two resources are dirty. Expected Results: The Dialog should only show one resource as dirty. Regards, Ben
It works if the same file is open in two different workbench windows.
Forget comment 1 - I was testing Exit which works fine in both cases. Code similar to Workbench.saveAllEditors(boolean) needs to be added to WorkbenchPage.closeAllEditors(boolean). This should be fixed for 3.1.
We eliminate dups in the dialog you get if there are dirty editors on shutdown, but not this one. Eliminating dups means that the workbench is assuming that the editors have a shared document model, which is true for text editors in the IDE but is not necessarily true in general. But we should at least be consistent in our assumptions.
See bug 17102 for more multiple prompting fun.
Maybe it's just me but to me it looks a bit strange to post a link which is 3 years old into a bug that's for a brand new feature and to which it is not related ;-)
This is a duplicate of Bug 17102. It's just became easier to trigger now. *** This bug has been marked as a duplicate of 17102 ***