Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 71846

Summary: [Editor Mgmt] Save all should be enabled if there is at least one unsaved editor
Product: [Eclipse Project] Platform Reporter: Tobias Widmer <tobias_widmer>
Component: UIAssignee: Nick Edgar <n.a.edgar>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1   
Hardware: All   
OS: All   
Whiteboard:

Description Tobias Widmer CLA 2004-08-12 04:02:00 EDT
Currently, the global action "Save All" is only enabled if more than one 
editor is dirty. For consistency reasons, it should be enabled as soon as 
there is at least one dirty editor.

I almost always use "Save All" instead of "Save". In the special case that 
only one editor is open, I can't use "Save All" as I am used to.
Comment 1 Nick Edgar CLA 2004-08-12 11:55:21 EDT
That is how it's intended to work, but it's clearly broken.
The following works:
- Window > New Window
- open a file
- modify it

but the following doesn't:
- Window > New Window
- open a file
- shutdown/restart
- modify it

It seems that modifications to any editors restored from the previous session do
not cause the Save action's enablement to change, even if more than one is dirtied.

Workaround is to close all editors on startup (can choose "Close all editors on
exit" in the Editors preference page).  This is not ideal.
Comment 2 Michael Fraenkel CLA 2004-08-13 20:17:25 EDT
Isn't this a dupe of bug 67590?
Comment 3 Nick Edgar CLA 2004-08-17 11:40:41 EDT
Indeed it is.

*** This bug has been marked as a duplicate of 67590 ***