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 135831 - I18N - Options dialog doesn't resize to show label of Axis2 tab
Summary: I18N - Options dialog doesn't resize to show label of Axis2 tab
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: I18N, UI
Depends on:
Blocks:
 
Reported: 2008-05-26 17:38 UTC by kaa
Modified: 2008-12-22 10:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (74.47 KB, image/jpeg)
2008-05-26 17:39 UTC, kaa
Details
How other dialogs in NB deal with this issue. (221.51 KB, image/png)
2008-05-28 10:28 UTC, Ondrej Langr
Details
How other dialogs in NB deal with this issue. (221.51 KB, image/png)
2008-05-28 10:28 UTC, Ondrej Langr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-05-26 17:38:33 UTC
Product Version: NetBeans IDE Dev (Build 200805221203)
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
font size 16

1. Install the plugin
2. Open Tools -> Options from main menu

Axis2 tab has label.
Options dialog doesn't resize to show it properly. Mbyte character looks truncated.


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-05-26 17:39:38 UTC
Created attachment 61942 [details]
image
Comment 2 Lukas Jungmann 2008-05-26 18:15:35 UTC
> Axis2 tab has label.
> Options dialog doesn't resize to show it properly. Mbyte character looks truncated.

=> looks like core/options is the right place for this I guess.
Comment 3 Jiri Skrivanek 2008-05-28 07:06:50 UTC
Ondro, is it suitable to add a scroll pane under icons panel in the options dialog?
Comment 4 Ondrej Langr 2008-05-28 10:26:42 UTC
Generally recommended solution for NetBeans is to embed the whole dialog into a scrollpane if it doesn't fit on the
screen (for example, see the attached screenshot). This is probably the way to go in this case too, even though adding
the scroll bar right below icons panel would eliminate some scrolling in this particular case.  But since the reported
problem really is an edge-case (higher font size, locale, additional plugin adding top-level option category), i suggest
to go for standard rather than optimal solution.
Comment 5 Ondrej Langr 2008-05-28 10:28:01 UTC
Created attachment 62047 [details]
How other dialogs in NB deal with this issue.
Comment 6 Ondrej Langr 2008-05-28 10:28:28 UTC
Created attachment 62048 [details]
How other dialogs in NB deal with this issue.
Comment 7 Jiri Skrivanek 2008-05-29 14:11:37 UTC
I don't see it as major usability problem. As I understand it is enough if user resizes the Options dialog. In that case
I am closing this issue as "wontfix".
Comment 8 kaa 2008-05-29 16:50:58 UTC
User does not need to manually resize most windows or dialogs.
I agree its not a critical issue but in general the problem needs a fix.
Comment 9 Ondrej Langr 2008-05-30 09:59:56 UTC
I agree with wontfix "solution" as we are dealing with an edge case here. And in this particular case reported, there is
no real issue as there is no missing information. In the few cases when localization is significantly longer than
English, resizing the dialog once (as it remembers it's size) will do the job, unless the font size is extreme. If
anything, this is minor usability problem or minor annoyance, which is P4/P5.