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 132063 - I18N - WebApp project properties dlg has resize problem
Summary: I18N - WebApp project properties dlg has resize problem
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 14:05 UTC by kaa
Modified: 2008-04-08 17:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (106.66 KB, image/jpeg)
2008-04-04 14:05 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-04-04 14:05:13 UTC
Product Version: NetBeans IDE Dev (Build 200803301102)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; MS932; ja_JP
font size 16

Steps:
1. Create WebApp using wizard defaults
2. Open project properties dialog
3. Select Libraries category

The dialog does not resize combobox with Java Platform.
Its height looks insufficient to show ja chars.

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. Sometimes,
embedding components in a scroll pane will solve the problem.
Comment 1 kaa 2008-04-04 14:05:43 UTC
Created attachment 59684 [details]
image
Comment 2 David Konecny 2008-04-07 08:19:50 UTC
4531be11d9b9
This problem existed also in ejbjar and appclient projects and these were fixed as well.

Buttons on web project's Sources panel were not aligned properly: fixed as 2a00bd344383
Comment 3 David Konecny 2008-04-07 12:14:47 UTC
Please increase priority if this issue should be fixed for NB6.1.
Comment 4 Ken Frank 2008-04-07 15:52:15 UTC
changing to p1 as mentioned below for fixing for nb 6.1, adding the 61_HR_FIX
keyword

but please accept this ONLY if no risk of destabilzation or other side
effects with the fix; if there is a chance of this its safer to wait until next release.

justification - even though some of the message shows, since in asian languages, the entire context
of the character is important and if some of it missing horizontally as per gif,
it could be confusing.

ken.frank@sun.com
Comment 5 Ken Frank 2008-04-07 18:28:48 UTC
David,

which product jar(s) have the messages/labels of these properties ?
I can pseudo localize those for our verification in trunk if this is to be fixed for
6.1

Andrey, to verify this we need to use a newer trunk build of tomorrow, Tues,
to be sure we get this fix.

ken.frank@sun.com
Comment 6 David Konecny 2008-04-07 23:10:58 UTC
enterprise5\modules\org-netbeans-modules-j2ee-clientproject.jar
enterprise5\modules\org-netbeans-modules-j2ee-ejbjarproject.jar
enterprise5\modules\org-netbeans-modules-web-project.jar
Comment 7 David Konecny 2008-04-07 23:59:49 UTC
Considering the fix is trivial and RC1 deadline is today I've integrated the fix: e683a153cc67
Comment 8 Dan Kolar 2008-04-08 08:47:08 UTC
v. in trunk
Comment 9 Martin Schovanek 2008-04-08 10:25:21 UTC
Fixed in release61, Dane please verify it.
Comment 10 Dan Kolar 2008-04-08 12:13:00 UTC
v. in release61