Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 71846 - [Editor Mgmt] Save all should be enabled if there is at least one unsaved editor
Summary: [Editor Mgmt] Save all should be enabled if there is at least one unsaved editor
Status: RESOLVED DUPLICATE of bug 67590
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.1   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-12 04:02 EDT by Tobias Widmer CLA
Modified: 2004-08-17 11:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***