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 146537 - I18N - Edit WS Attributes dialog has resize issue
Summary: I18N - Edit WS Attributes dialog has resize issue
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-09-08 16:57 UTC by kaa
Modified: 2008-10-28 18:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (71.30 KB, image/jpeg)
2008-09-08 16:58 UTC, kaa
Details
Advanced Messaging Attributes dlg has the same problem (82.69 KB, image/jpeg)
2008-09-08 17:00 UTC, kaa
Details
the same on Mac (67.40 KB, image/jpeg)
2008-09-12 16:37 UTC, kaa
Details
see the button circled in red (124.20 KB, image/jpeg)
2008-09-30 13:53 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-09-08 16:57:45 UTC
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.
Comment 1 kaa 2008-09-08 16:58:09 UTC
Created attachment 69334 [details]
image
Comment 2 kaa 2008-09-08 17:00:00 UTC
Created attachment 69335 [details]
Advanced Messaging Attributes dlg has the same problem
Comment 3 Lukas Jungmann 2008-09-08 17:07:48 UTC
=> wsit
Comment 4 kaa 2008-09-12 16:37:05 UTC
Created attachment 69761 [details]
the same on Mac
Comment 5 Martin Grebac 2008-09-16 17:12:12 UTC
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.
Comment 6 kaa 2008-09-17 16:05:43 UTC
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. 
Comment 7 Martin Grebac 2008-09-22 14:38:14 UTC
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.
Comment 8 Martin Grebac 2008-09-22 16:18:39 UTC
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.
Comment 9 Quality Engineering 2008-09-23 17:56:25 UTC
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.
Comment 10 kaa 2008-09-30 13:52:26 UTC
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.
Comment 11 kaa 2008-09-30 13:53:17 UTC
Created attachment 70896 [details]
see the button circled in red
Comment 12 Martin Grebac 2008-10-07 16:58:43 UTC
The button is fixed now as well.
Comment 13 Quality Engineering 2008-10-08 06:05:35 UTC
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.
Comment 14 kaa 2008-10-28 18:10:09 UTC
verified: rc2, build 1023