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.
[ BUILD # : 040819 ] [ JDK VERSION : J2SE 1.4.2_05 ] Steps to reproduce: 1. Start IDE. 2. Open or create a project. 3. Quit IDE while still open. 4. Start IDE. NB will open the project, but the title bar still says no project. If one clicks on the project name, the title bar will change to show the project name, but it doesn't "stick". Probably wrong component, and certainly NOT a showstopper. Travis
works fine in [nb_dev](200408262030), [jdk1.5.0](b63) , LinuxRH9
Hi Marian, I will try again tonight with a daily build to see if it is still reproducible. It may involve the interaction of NB and the Aqua LAF on the Mac. Since it is a minor issue, I expect it to get fixed only if someone is looking at that part of the code for some other issue. Travis
reassigning
if I understand the report correctly, you probably have a different idea about the updating algorithm. the way it works: the title is based on currently selected node(s) in the IDE. if after restart none of the nodes was selected (or one that doens't belong to any project was highlighted - like any in the Runtime component) then the title will say No Project. BTW issue #48101 deals with removing the No Project text alltogether. does it explan the non-sticky-ness? Closing as worksforme, please reopen if I got it wrong or you disagree.
Hi Milos, Based on the insight you shared, perhaps I can rephrase my question. When NB is ended, it remembers what project(s) were open at the time. When NB is restarted, it reopens all projects that were open before. However, since NB does not remember which project was selected when ended, it does not know which project to select when reopened. Is this accurate? If so, is it a non-trivial effort to save and restore the selected project, or other considerations not obvious to me? If I understand your explanation, saving and restoring the selected project would cause the title bar to be updated correctly. This would be separate from issue #48101, IMHO. Travis
Ok, from what you write this is more about the restoring of selected nodes after restart. I figured this works correctly under linux but fails under MacOSX. It also works on mac for the Runtime tab. So my current evaluation is that it's a problem of the Projects tab component, not the window system. reassigning for further evaluation.
Just tested in the lastet build. Works on Mac and Linux as well. Pleas notice that the selection persistence was added after beta. *** This issue has been marked as a duplicate of 44877 ***
Fix for 44877 took care of this problem, too. Thanks.