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 30222 - Debugger window recreates its toolbars when views change
Summary: Debugger window recreates its toolbars when views change
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 34160
  Show dependency tree
 
Reported: 2003-01-20 13:35 UTC by _ tboudreau
Modified: 2010-04-29 09:12 UTC (History)
0 users

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 _ tboudreau 2003-01-20 13:35:47 UTC
I've been trying to chase down a rendering bug in 
ToolbarToggleButton (it shows up with a border on the
first paint, but uses proper rollover borders after).
I added some logging code to ToolbarToggleButton.

In the debugger window there is a set of toggle buttons to
show and hide windows.  Whenever you show or hide a window,
the toolbar controlling the windows that are showing is
re-created.  While I don't have measurements of its 
performance impact, this can't be efficient - the set of
available views has not changed, only the state that
the toolbar buttons should represent. It probably
increases the time it takes to update the views.

See 
org.netbeans.modules.debugger.support.nodes.ToolbarView.setV
iews()
Comment 1 Jan Jancura 2003-02-19 14:31:16 UTC
Reproducible, should be fixed if possible.
Comment 2 Jan Jancura 2003-02-24 17:32:04 UTC
fixed in the main trunk
Comment 3 Quality Engineering 2010-04-29 09:12:20 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.