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.
When closing the first file in the editor the title bar is not updated if more than two files are left in the window. Steps to reproduce: Open more than three files Select the first one!!! (Title bar shows the name of the file) Close that file (either by right-click and "Close" or Ctrl-F4) The next file gets the focus but the title bar still displays the old name (This happens only if the first file is closed!) This is with 3.2 build 32
I think this is problem of windowing system.
Reproduced on Solaris too. Assigning to Marek. Maybe the issue #11511 (http://openide.netbeans.org/issues/show_bug.cgi?id=11511) has the same background as this one.
*** Issue 11599 has been marked as a duplicate of this issue. ***
Fixed in org.netbeans.core.windows.frames.DefaultContainerImpl - method removeTopComponent. Variable selected was set here to first top component from array of all top components. When first component was removed, method setSelectedTopComponent called from componentRemoved did not called Mode.updateTitle() because first component was already set in variable selected. So setting of selected directly in removeTopComponent was commented. Method componentRemoved is responsible for correct setting of variable selected by call of method setSelectedTopComponent. Fixed in main trunk
Target milestone -> 3.3 Removing the OPEN_IN_3.2 keyword.
verified in [nb-release330](200112102331)
Resolved for 3.4.x or earlier, no new info since then -> closing.