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.
Summary: | panelDeactivated not called when corresponding window is closed | ||
---|---|---|---|
Product: | platform | Reporter: | Peter Zavadsky <pzavadsky> |
Component: | Navigator | Assignee: | David Simonek <dsimonek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | deva, issues, quynguyen, sandipchitale |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 104229 | ||
Bug Blocks: | 123530, 123003 |
Description
Peter Zavadsky
2007-05-17 08:29:05 UTC
CC interested parties, also added PERFORMANCE keyword -> memory leak. I believe this is fixed along with the fix of 104229. Navigator now listen to node destroy, so it should update correctly and call panelDeactivated. It is not fixed now, or it came back. The scenario now. 1) Open the VW project, 2) open a designer, that opens the navigator and outline in it, and panelActivated is called 3) close the designer, that closes also the navigator, but panelDeactivated method is not called. That causes memory leak. This should be fixed for NB 6.1. It causes a significant memory leak in visual web (~20 MB of memory on a project with 2 pages), so I am upgrading this to P2. working on it... fixed and test implemented: Checking in test/unit/src/org/netbeans/modules/navigator/NavigatorTCTest.java; /cvs/core/navigator/test/unit/src/org/netbeans/modules/navigator/NavigatorTCTest.java,v <-- NavigatorTCTest.java new revision: 1.17; previous revision: 1.16 done Checking in test/unit/src/org/netbeans/modules/navigator/NavigatorControllerTest.java; /cvs/core/navigator/test/unit/src/org/netbeans/modules/navigator/NavigatorControllerTest.java,v <-- NavigatorControllerTest.java new revision: 1.7; previous revision: 1.6 done Checking in src/org/netbeans/modules/navigator/NavigatorController.java; /cvs/core/navigator/src/org/netbeans/modules/navigator/NavigatorController.java,v <-- NavigatorController.java new revision: 1.37; previous revision: 1.36 done |