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 48640 - The TODOs for closed files may stay in "Opened Files" tab
Summary: The TODOs for closed files may stay in "Opened Files" tab
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 4.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: tasklist-issues@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 08:53 UTC by Jan Lahoda
Modified: 2006-03-24 10:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test project (81.23 KB, application/octet-stream)
2004-09-08 08:54 UTC, Jan Lahoda
Details
The release40_beta2 patch (6.80 KB, patch)
2004-09-13 10:49 UTC, _ pkuzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2004-09-08 08:53:49 UTC
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.
Comment 1 Jan Lahoda 2004-09-08 08:54:08 UTC
Created attachment 17459 [details]
Test project
Comment 2 _ pkuzel 2004-09-08 10:13:38 UTC
Looks like either missing close event or bug in its event handler.
Comment 3 _ pkuzel 2004-09-08 16:15:33 UTC
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.
Comment 4 _ pkuzel 2004-09-08 17:14:10 UTC
issue #48711 form' TC lookup is empty.
Comment 5 _ pkuzel 2004-09-09 17:07:17 UTC
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.
Comment 6 _ pkuzel 2004-09-10 09:26:11 UTC
I have a fix for Close all.

MultiView TC handling is still broken. It does not behave such
transparently as it should.
Comment 7 _ pkuzel 2004-09-10 11:43:54 UTC
Close all fixed in SuggestionsBroker.java new revision: 1.45
Comment 8 _ pkuzel 2004-09-13 10:33:20 UTC
For form issue I have spawned separate issue #48711.
Comment 9 _ pkuzel 2004-09-13 10:49:14 UTC
Created attachment 17575 [details]
The release40_beta2 patch
Comment 10 _ pkuzel 2004-09-13 10:54:10 UTC
release40_beta2: SuggestionsBroker.java new revision: 1.43.10.1
Comment 11 Jan Lahoda 2005-02-25 08:41:32 UTC
Seems OK. Build 20050224-1206.