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 148676 - I18N - Misc options tab for Visual Web doesn't resize to show all messages
Summary: I18N - Misc options tab for Visual Web doesn't resize to show all messages
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-09-29 20:23 UTC by kaa
Modified: 2008-10-10 17:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (93.58 KB, image/jpeg)
2008-09-29 20:24 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-09-29 20:23:59 UTC
Product Version: NetBeans IDE Dev (Build 200809280201)
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 Tools -> Options dialog
2. Choose Misc -> Visual Web

The dialog doesn't resize to show all messages. 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.
Comment 1 kaa 2008-09-29 20:24:29 UTC
Created attachment 70834 [details]
image
Comment 2 Petr Chytil 2008-09-30 09:45:10 UTC
Reassigning to visualweb for evaluation.
Comment 3 Peter Zavadsky 2008-09-30 18:24:55 UTC
Yes, there is a bad UI implementation. It seems there is used some fixed width (which fits only for certain font and
language). Investigating the code.
Comment 4 Peter Zavadsky 2008-10-01 00:25:28 UTC
Fixed.

changeset:   104565:b209ac177c60
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Tue Sep 30 16:23:23 2008 -0700
summary:     148676 Fixing bad UI, preventing safe l10n.
Comment 5 kaa 2008-10-10 17:00:37 UTC
verified: build 1005