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 131114 - I18N - New WSDL doc wizard has resize issue
Summary: I18N - New WSDL doc wizard has resize issue
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-03-26 00:22 UTC by kaa
Modified: 2008-04-26 09:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (41.48 KB, image/jpeg)
2008-03-26 00:22 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-03-26 00:22:08 UTC
Product Version: NetBeans IDE Dev (Build 200803231202)
System: WinXP, ja_JP, font size 16.

Steps:
1. Create BPEL Module
2. Open new WSDL doc wizard
3. Press Next button until step 4
4. Select Document Literal radio button

An error message appears
The wizard does not resize to show it.

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-03-26 00:22:36 UTC
Created attachment 59091 [details]
image
Comment 2 Shivanand Kini 2008-03-28 20:29:16 UTC
This has been visited before.
http://www.netbeans.org/issues/show_bug.cgi?id=85990
Especially the following comment:
Quote:
"making the error message scrollable is not a good solution.
1. scrolling one line is non-efficient and ugly.
2. having multiple lines reserved for error messages would possibly break
multiple wizards that are optimized for the current content size (which would
get smaller)
3. it's no possible to have a JLabel multiline (with the exception of <html>-zed
test) so whe would have to replace it with JTextArea.

I suggest we either provide a tooltip with complete message (possibly with
automatic initial appearance) or by introducing a button on the right-hand side
that would show the message in a popup window.

none of these shall go to 5.5.1 however. It's too risky to introduce such change
that potencially breaks other wizards.

BTW not sure why this is assigned to projects, should be openide/dialogs instead."

Other than that,the error message has been reduced in this release. (in 6.0, it was longer than in 6.1)
It was decided that the tool tip would be the workaround for the long message.
Comment 3 kaa 2008-04-26 09:41:46 UTC
I agree that scrolling one line is non-efficient and looks ugly.
Probably a separate  message box with a warning will solve this kind of resize issues without splitting the wizard?
Tooltip seems to me good solution but it will be not obvious for users.