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 141565 - I18N - New Java App wizard doesn't resize to show its progress bar message
Summary: I18N - New Java App wizard doesn't resize to show its progress bar message
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-07-24 15:34 UTC by kaa
Modified: 2008-12-22 14:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (47.08 KB, image/jpeg)
2008-07-24 15:35 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-07-24 15:34:47 UTC
Product Version: NetBeans IDE Dev (Build 20080721233246)
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)
I'm running in Japanese locale, using a pseudo localized Netbeans with font size 16 option. 

1. Open New Java App wizard
2. Accept default settings and press Finish button

The wizard doesn't resize properly to show its progress bar message. J2ee and Web projects look ok.

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-07-24 15:35:26 UTC
Created attachment 65548 [details]
image
Comment 2 Tomas Zezula 2008-07-24 16:52:11 UTC
J2SEProject just provides the right panel and string, it doesn't control the left panel.
Comment 3 Tomas Zezula 2008-07-24 16:53:11 UTC
Doesn't seem to be P2.
Comment 4 kaa 2008-07-24 16:58:45 UTC
I set p2 in accordance with Bug Priority Guidelines for i18n:
http://wiki.netbeans.org/BugPriorityGuidelines#section-BugPriorityGuidelines-P2
Comment 5 Jiri Rechtacek 2008-07-25 09:05:21 UTC
I'll look on it and probably using multi line labels with such cases.
Comment 6 Jiri Rechtacek 2008-09-11 15:48:00 UTC
There is not straightforward way to fix it. The wizard has almost fixed dimension of left panel in New Project Wizard
but Progress API provides JLabel for clients message. I wonder we would like to change the layout of wizards for this as
well as Progress API won't return multiline JLabel.
However, I don't think it's worth fixing this. The problem is with a information message temporary displayed while
wizard finishing and IDE users get feedback about progress of creating new project anyway. IMHO decrease to lower priority.
Comment 7 Jiri Rechtacek 2008-09-11 16:11:49 UTC
Added a tooltip on progress message to see whole message if message label is cut. Changeset: 63af603b1dcb
IMHO it fixing the matter of problem.
Comment 8 Quality Engineering 2008-09-12 05:59:24 UTC
Integrated into 'main-golden', will be available in build *200809120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/63af603b1dcb
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #141565: show tooltip on progress message
Comment 9 kaa 2008-09-17 16:23:11 UTC
I tried to verify using build 0916. Can you help me to make the tooltip visible?
I created more then 5 Java Applications but I can't see the tooltip using mouse click/hover action around the progress bar.
Comment 10 kaa 2008-10-10 16:56:20 UTC
v