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 128472 - I18n - Open Project dialog does not resize to show all of its text labels
Summary: I18n - Open Project dialog does not resize to show all of its text labels
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-02-26 17:41 UTC by kaa
Modified: 2008-04-09 17:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (43.89 KB, image/jpeg)
2008-02-26 17:41 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-02-26 17:41:36 UTC
Product Version: NetBeans IDE Dev (Build 200802191203)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)
font size 16

Steps:
1. Try to open a project
2. The wizard appears

It does not resize to show all of its text 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. Sometimes,
embedding components in a scroll pane will solve the problem.
Comment 1 kaa 2008-02-26 17:41:58 UTC
Created attachment 57289 [details]
image
Comment 2 Milan Kubec 2008-03-03 09:42:43 UTC
Dafe, please take a look, it needs to be fixed in directory chooser. Thanks.
Comment 3 David Simonek 2008-03-04 11:44:03 UTC
looking at it...
Comment 4 David Simonek 2008-03-04 15:49:27 UTC
fixed in main repo, smarter algorithm implemented, dir chooser now respects accessory's preferred size with some limits
so that dialog is not very small or very large.

http://hg.netbeans.org/main/rev/e4e3b2ac58b1
Comment 5 Ken Frank 2008-03-26 22:19:38 UTC
Andrey, on solaris I don't see any difference now than from the gif you attached
using pseudo localized at 14 pt font size.

ken.frank@sun.com
Comment 6 kaa 2008-03-27 00:01:40 UTC
Looks reproducible.
Re-checked also on XP using 0323 build. The issue exists.
Comment 7 David Simonek 2008-03-27 15:20:22 UTC
My fix was accidentally deleted by somebody:
http://hg.netbeans.org/main/rev/4bed4f1bad98

fixed again:
http://hg.netbeans.org/main/rev/d4f4d806856f
Comment 8 Ken Frank 2008-03-31 22:28:35 UTC
Andrey,

it looks ok to me on solaris and windows, font size 14 with pseudo - please
verify if it looks ok to you.

ken.frank@sun.com
Comment 9 kaa 2008-04-09 17:44:32 UTC
verified in trunk