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 146655 - I18N - External WSDL or XML doc wizard has resize issue
Summary: I18N - External WSDL or XML doc wizard has resize issue
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-09-09 14:52 UTC by kaa
Modified: 2008-09-11 17:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (114.00 KB, image/jpeg)
2008-09-09 14:53 UTC, kaa
Details
re-checked again (141.89 KB, image/jpeg)
2008-09-09 16:29 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-09-09 14:52:42 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 Bpel module
2. Open wizard for External WSDL or XML doc

There are  two Browse buttons. The wizard doesn't resize to properly show their labels.

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 1 kaa 2008-09-09 14:53:39 UTC
Created attachment 69409 [details]
image
Comment 2 Samaresh Panda 2008-09-09 16:05:45 UTC
Sorry, I'm not able to find any hard-coding here and I do see that the buttons as re-sizable. Verified with font size 20
and works fine for me. You may want to take a second look.
Comment 3 kaa 2008-09-09 16:28:08 UTC
Perhaps you didn't use a pseudo localized NetBeans.
Using such localization, each message/label is sometimes longer than in English. 
Comment 4 kaa 2008-09-09 16:29:18 UTC
Created attachment 69427 [details]
re-checked again
Comment 5 kaa 2008-09-09 17:03:32 UTC
Can you point to me jar name/location with labels? Then I can send to you a pseudo file. All you need to reproduce is to
copy the file in 'locale' folder and restart NetBeans in Japanese locale.
Comment 6 Samaresh Panda 2008-09-09 17:34:48 UTC
This will fix the issue. Please verify.
http://hg.netbeans.org/main?cmd=changeset;node=265ff2f5c6c1.

The module is xml.schema (org-netbeans-modules-xml-schema.jar).
Comment 7 Quality Engineering 2008-09-10 06:03:23 UTC
Integrated into 'main-golden', will be available in build *200809100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/265ff2f5c6c1
User: samaresh@netbeans.org
Log: #146655 I18N - External WSDL or XML doc wizard has resize issue
Comment 8 kaa 2008-09-11 17:37:01 UTC
verified: build 0910. Both wizards look ok.