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.
Product Version: NetBeans IDE Dev (Build 200809040201) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22, WinXP, UTF-8 I'm running in Japanese locale, using a pseudo localized Netbeans with font size 16 option. 1. Create a Web Service 2. Choose 'Edit WS Attributes' from the pop-up menu 3. Scroll the dialog (circled in blue) to show Secure Service part The dialog doesn't resize (circled in red) to show text and a button for Security Mechanism. The problem is not about exact length of some label or message that is not being shown completely, but that if dynamic resizing is implemented vs hardcoding, the label or message will show completely.
Created attachment 69334 [details] image
Created attachment 69335 [details] Advanced Messaging Attributes dlg has the same problem
=> wsit
Created attachment 69761 [details] the same on Mac
You can resize the dialog manually and all the fields resize correctly. Since the dialog itself is quite large, the intention is not necessarily enlarge the dialog to show the full content from the beginning.
I agree with the point about large size of the dialog. But there are scroll bars and the dialog doesn't need any resizing. I think one of the possible solutions is to resize scrollable area within the dialog. Assumption is that user does not need to manually resize most windows or dialogs to see all of the UI objects and information in them. I'm running in pseudo localized locale in which each message/label is sometimes longer than in English. To account for that in some locales, translations from English (and some other euro languages) could be shown with longer strings. Also I'm running at font size 16, which is viewed as a valid font size that might be used. Resizing issues are not just related to i18n; they might show to user in English locale if they run at larger font size. Often, these issues happen because the length of some label or message or size of entire window is hardcoded vs using layout managers or other techniques or api to have the windows or the objects in them, dynamically resize.
OK, but I don't think this is a P2 since it doesn't block you at all in using the features/dialogs. There's nothing hard-coded AFAIK, only the preferred size is setup for the dialog. The dialog itself is designed with Matisse ... aka GroupLayout, and that one doesn't seem to be handling these cases correctly. Will look at how this could be fixed.
OK, shall be fixed in trunk. Matisse doesn't set the .DEFAULT_SIZE when it's set through the dialog itself. Has to be set manually.
Integrated into 'main-golden', will be available in build *200809231435* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/746151fa859e User: mgrebac@netbeans.org Log: Fix for #146537 - I18N - Edit WS Attributes dialog has resize issue Matisse doesn't set the DEFAULT correctly when selected in the combo.
Product Version: NetBeans IDE Dev (Build 200809280201) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb) The message looks ok but the button still needs a resize. See image.
Created attachment 70896 [details] see the button circled in red
The button is fixed now as well.
Integrated into 'main-golden', will be available in build *200810080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6490d04f7746 User: mgrebac@netbeans.org Log: Fix for #146537 - I18N - Edit WS Attributes dialog has resize issue The button shall be fixed now as well.
verified: rc2, build 1023