This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 14706 - Editor tab not closed after file delete
Summary: Editor tab not closed after file delete
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on: 17081
Blocks:
  Show dependency tree
 
Reported: 2001-08-22 21:52 UTC by Jesse Glick
Modified: 2008-12-22 22:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2001-08-22 21:52:13 UTC
[dev aug 17] After deleting a file from the Explorer that was open in
the editor (unmodified), its editor window is not closed. Plain
ExLocalFileSystem. Seen in *.java, *.xml. Regression from NB 3.2.
Comment 1 Jan Zajicek 2001-08-23 09:28:52 UTC
Note, I have tried this and cannot reproduce it in dev #20010822.
Comment 2 Jesse Glick 2001-08-25 16:27:00 UTC
Interesting, it has happened to me a couple of times at least, but
I am not sure if it happens every time. If you have not seen it or
heard of it, feel free to mark WORKSFORME and we can reopen later
if necessary. Not aware of any special steps to reproduce.
Comment 3 mslama 2001-10-15 11:04:44 UTC
Reassign to new owner of openide/editor
Comment 4 Peter Zavadsky 2001-10-24 13:57:41 UTC
I haven't experienced it, so closing as worksforme.

Please, reopen if it occures again. 
Comment 5 Jesse Glick 2001-10-25 12:09:40 UTC
I found this for XML settings files in [dev oct 23].
InstanceDataObject.SettingsInstance had a badly implemented
DataEditorSupport (just a couple of methods overridden in the Env),
which apparently made it look like it worked but not really work well.
So if such a problem reoccurs (I fixed this one), consider checking
for a bogus D.E.S. impl. Yarda, do you think a
DataEditorSupportForDummies (that would do what 95% of people want -
i.e. what EditorSupport used to do before it got deprecated, except
forcing you to add/remove the save cookie yourself) would be a bad
idea?
Comment 6 Jaroslav Tulach 2001-10-29 09:11:00 UTC
Ok, enhancing DataEditorSupport is fine requirement, consider also
passing CookieSet into the Env constructor, so it will add/remove
SaveCookie automatically...

A time for new issue?
Comment 7 Quality Engineering 2003-07-01 16:00:20 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 8 Quality Engineering 2003-07-01 16:33:44 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.