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.
NB 080313, JDK 1.6.0_10-b13, Ubuntu 7.10, quad-core Intel CPU Gnome display settings: 100 DPI, sub-pixel smoothing, fixed width font size set to 13, other font sizes set to 12 -- The first time the "Internationalize' dialog is displayed, it has incorrect size (wider, lower) which causes that a vertical scroll-bar is displayed in the 'Comment:' field. The subsequent calls may reuse the existing dialog so incorrect size is preserved. The next time the dialog is created, its initial size is correct. The immediate cause of this incorrect behavior is that the dialog's insets are not fully set up at the time the dialog's preferred size is being computed. The Container.insets() method is called several times during initialization of the dialog. During first initialization of the dialog, the first two calls of the method return incorrect values of insets (25,5,5,5) which makes all the subsequent computation of preferred size incorrect, too. All the following invocations of the insets() method return correct value (27,4,4,4) and the dialog's preferred size is thus computed correctly, too. See the attachment - there are call-stacks of all invocations of the insets() method during the first and also (for comparison) during the second setup of the dialog. When reproducing this bug, remember to use NetBeans with bugfix for bug #130047 integrated ("Dialog for Interantionalization contains useless scrollbars on Mac").
Created attachment 58510 [details] logs and stack-traces demonstrating the bug and its cause
Not in current plan to fix it
NetBeans.org Migration: changing resolution from LATER to WONTFIX