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.
NetBeans build from Oct 4, 2004, JDK 1.5.0(b64-fcs), Sun ULTRA 60, 512MB, 450MHz When I start the IDE session where I have three Java editors opened I see that the editor area is repainted several times. There is first paint of editor without status bar. Next paints contains status bar. The toolbar is painted at least three times, once with original heght than painted again smaller and again with original height (perhaps related to NavigationView but I am not sure here). There are also other paints related to folding and override annotations but these are OK. The same can be observed for other Java files newly opened in editor. The same happens on my Dell notebook but it is no so well visible as the hardware is much faster.
similar issues - issue #39043 , issue #33989
partially fixed in [maintrunk] in editor module as for StatusBar /cvs/editor/libsrc/org/netbeans/editor/StatusBar.java,v <-- StatusBar.java new revision: 1.40; previous revision: 1.39 The rest needs to be done in java module - NavigateAction presenter component is changing its preferred size during file opening to these values (in my test case): 34,19 121,18 34,19 251,18 356,18 reassinging to java module for evaluation
Honza will look at it.
Could you point me what is wrong with NavigationView or NavigateAction.ToolbarPresenter? I have found nothing suspicious there, especially none resizing. Neither NV nor NA.TP implement getPreferredSize. If I place a breakpoint to NV.repaint (overridden for debug purpose) I can see several calls invoked by a layout manager and 2 or 3 calls invoked by the nodes model owned by ChoiceView as the superclass.
I have just overriden getPreferredSize method in org.netbeans.modules.editor.NbEditorToolBar. There I checked the actual preferred size of the toolbar and it was changing, because of the change of preferred size of org.netbeans.modules.java.ui.actions.NavigateAction$ToolbarPresenter as I wrote before. Resizing of NA$TP could be IMO done by its context changing...
Not a showstopper for 4.0 but it would be nice to have at least partial improvements here.
old target milestone, please re-evaluate
Closing as fixed since NavigationView is no longer part of the build.