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.
Sometimes the Projects tab seems to retain a node selection from a project after it has been closed. This is visible in the main window title. Not sure exactly how to reproduce, but happens to me very often. Would be P4 (minor annoyance) except I fear that it is also a memory leak. Hacks.keepCurrentProjectNameUpdated is getting the project name from an actual Project object, meaning some TopComponent lookup is still holding onto it. Not a new bug, has been broken for as long as I can remember.
I've tried to reproduce in current builds for quite some time without success. What are the opened documents or topcomponents you have when closing the project?
I don't know, the usual: Projects, Files, sometimes document windows. I think I just saw this today in 070905. So common I hardly notice it. Should be possible to insert logging code which detects this condition, I guess.
sorry, still can't duplicate on jdk 1.5, linux/kde or macosx. Not sure where to insert logging in the Hacks class. It could be possibly caused by your OS window system?
Just using Metacity, the default WM for Gnome.
Continues to happen at times.
I have added some logging to try to help reproduce: Checking in Hacks.java; /shared/data/ccvs/repository/projects/projectui/src/org/netbeans/modules/project/ui/Hacks.java,v <-- Hacks.java new revision: 1.27; previous revision: 1.26 done
any luck with the logging added?
Hmm, I don't remember seeing this happen recently (though I got so used to it happening that I'm not sure I would notice if it did). Cannot currently reproduce through casual attempts. Might have been some little bug fixed by project memory leak work?