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

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (103.60 KB, image/jpeg)
2008-04-04 13:17 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 13:17:18 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 Enterprise Application using wizard defaults
2. Open project properties
3. Select Packaging category

The dialog does not resize to show labels on buttons at the right side.
See image.

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 13:17:46 UTC
Created attachment 59674 [details]
image
Comment 2 David Konecny 2008-04-07 08:18:09 UTC
6284114f1a15
Comment 3 David Konecny 2008-04-07 12:14:19 UTC
Please increase priority if this issue should be fixed for NB6.1.
Comment 4 Ken Frank 2008-04-07 15:57:24 UTC
marking as p1 with 61_HR_FIX keyword so can be fixed in 6.1 but
ONLY if no risk of destabilization of other parts in your opinion.

justification is that issue means for users of translated nb, there is
a chance not all information would be seen, as per attached image.

ken.frank@sun.com
Comment 5 Ken Frank 2008-04-07 18:28:04 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:08:53 UTC
enterprise5\modules\org-netbeans-modules-j2ee-earproject.jar, e.g. LBL_CustomizeEAR_AddJar_JButton
Comment 7 David Konecny 2008-04-07 23:59:25 UTC
Considering the fix is trivial and RC1 deadline is today I've integrated the fix: 1b5cbe209f9c
Comment 8 Ken Frank 2008-04-08 01:11:19 UTC
just confirming that this fix and 132063 are done in the trunk, not release61 ?

and that they need to be verified before the go/nogo meeting tomorrow ?

that might be hard to do in that time.

ken.frank@sun.com
Comment 9 David Konecny 2008-04-08 02:08:20 UTC
re. "this fix and 132063 are done in the trunk, not release61" - fixed both in trunk and release61. I talked with
pjiricka about these issues and he suggested to fix them before go/nogo meeting if possible. Due to time constraints,
simplicity of both of the problems, straightforwardness of the fix I decide to go ahead and deliver the fix to 6.1. I
performed thorough testing with fontsize 18 and could verify the fix.

re. "they need to be verified" - yes, by somebody else than me
Comment 10 Dan Kolar 2008-04-08 08:43:51 UTC
v. in trunk
Comment 11 Martin Schovanek 2008-04-08 10:18:36 UTC
Fixed in release61 by 1b5cbe209f9c. Dane please verify it.
Comment 12 Dan Kolar 2008-04-08 12:11:42 UTC
v. in release61
Comment 13 Ken Frank 2008-04-08 18:26:12 UTC
this one and 132063 both verified in pseudo localized env using fontsize 14,
where the issue was orignally seen.

used recent trunk.

ken.frank@sun.com
Comment 14 David Konecny 2008-04-08 21:58:29 UTC
Was already verified by dkolar in 61. By changing milestone to 'dev' you are saying it was not fixed in 61.
Comment 15 Ken Frank 2008-04-09 00:00:33 UTC
I'm sorry - I didn't mean to or thought I had changed milestone - just added
a comment.

ken.frank@sun.com