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 11567 - [windows]Editor does not update window title bar
Summary: [windows]Editor does not update window title bar
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P2 blocker (vote)
Assignee: mslama
URL:
Keywords:
: 11599 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-04-19 15:47 UTC by tkellerer
Modified: 2008-12-22 19:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tkellerer 2001-04-19 15:47:20 UTC
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
Comment 1 Jan Lahoda 2001-04-19 18:53:37 UTC
I think this is problem of windowing system.
Comment 2 Jan Zajicek 2001-04-20 13:34:36 UTC
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.
Comment 3 Jan Zajicek 2001-04-20 13:48:33 UTC
*** Issue 11599 has been marked as a duplicate of this issue. ***
Comment 4 mslama 2001-04-26 13:54:46 UTC
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
Comment 5 Jan Chalupa 2001-05-05 20:41:02 UTC
Target milestone -> 3.3
Removing the OPEN_IN_3.2 keyword.
Comment 6 Marian Mirilovic 2001-12-11 15:36:43 UTC
verified in [nb-release330](200112102331)
Comment 7 Quality Engineering 2003-07-01 16:43:32 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.