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.
NB trunk build 200409071800, JDK1.5.0-rc. 1. Download the attached test package. 2. Open the test project in the IDE. 3. Select all files in the default package, invoke context menu and select open: all files from the default package are opened. 4. Using "Close All Document" close all these files. 5. Some TODOs for some of the closed files remain opened. 6. The only way to remove these TODOs is to open the respective file and close it.
Created attachment 17459 [details] Test project
Looks like either missing close event or bug in its event handler.
While trying to reproduce I crossed teh same problem event for single file oprations with form objects. It uses MultiViewCloneableTopComponent that does not pass used instanceof CloneableEditor check.
issue #48711 form' TC lookup is empty.
Events are OK. However onClose wrongly triggers full background rescanning of newly selected topcomponent. Once the background request get dispatched the "newly selected topcomponent" is already closed. onClose should just swap listeners on active topcompenent without rescanning.
I have a fix for Close all. MultiView TC handling is still broken. It does not behave such transparently as it should.
Close all fixed in SuggestionsBroker.java new revision: 1.45
For form issue I have spawned separate issue #48711.
Created attachment 17575 [details] The release40_beta2 patch
release40_beta2: SuggestionsBroker.java new revision: 1.43.10.1
Seems OK. Build 20050224-1206.