Bug 67153 - [EditorMgmt] Overwriting a file gives a confusing message and behavior when closing all editors
Summary: [EditorMgmt] Overwriting a file gives a confusing message and behavior when c...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-14 18:11 EDT by Hanna Farah CLA
Modified: 2019-09-06 16:04 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 Hanna Farah CLA 2004-06-14 18:11:58 EDT
a.modify an open file so that it is dirty and don’t save it
b.select a tab different from the modified file
c.close all editors
d.You will be prompted to save the modified and over-written file, when you 
choose to save it, you will be told that the file has been modified on disk 
and asked if you want to over-write it, a user could say yes thinking that he 
already over-wrote the file but will lose the over-written changes, since the 
old modified file is saved.
e.If the user chooses that he does not want to over-write the changes, the 
close all operation will have no effect on any open file.
f.If the user chooses not to save the file, the over-written file will be the 
one on disk but the additional modifications that were made to the file will 
be lost and cannot be recovered from the local history.
g.This happens because over-writing a file does not take effect immediately 
when its editor is dirty, when clicking on the file’s editors, a user will be 
prompted to re-load the file but this should happen automatically
Comment 1 Nick Edgar CLA 2004-06-15 11:07:44 EDT
Hanna, could you please compare against 2.1 to determine if this is a regression?
Comment 2 Hanna Farah CLA 2004-06-15 11:21:40 EDT
There is a missing step between 'b' and 'c': after 'b', you should drag and 
drop a file with the same name as the open file and confirm that you wish to 
overwrite it, then you close all editors.

The same behavior exists in 2.1, as described.
Comment 3 Susan McCourt CLA 2009-07-09 19:05:20 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 4 Boris Bokowski CLA 2009-11-17 13:06:37 EST
Remy is now responsible for watching the [EditorMgmt] component area.
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:04:24 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.