Bug 18419 - Dirty editor not closed when deleting project
Summary: Dirty editor not closed when deleting project
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-31 04:56 EDT by Jerome Lanneluc CLA
Modified: 2002-06-03 12:12 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 Jerome Lanneluc CLA 2002-05-31 04:56:56 EDT
Build 20020530

1. Create Java project 'Test'
2. Create compilation unit X.java
3. Edit X.java and make the editor dirty (so leave it unsaved)
4. Delete project 'Test'
Observe: The editor is left opened. 

If you give it focus, you get an error dialog: 
Problems managing bookmarks.
Reason: Resource /Test/X.java does not exist.
Comment 1 Erich Gamma CLA 2002-05-31 09:24:14 EDT
not closing the editor is good since it ensures that the user doesn't loose 
changes, but the exception should not happen. It is a duplicate of another bug.
Comment 2 Kai-Uwe Maetzel CLA 2002-06-03 12:12:03 EDT
The managing bookmark problem has been solved. Leaving dirty editor open is the 
intended behavior as it avoids unintentional loss of data.