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 148757 - I18N - Strip dialog doesn't resize to show its messages
Summary: I18N - Strip dialog doesn't resize to show its messages
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-09-30 15:43 UTC by kaa
Modified: 2008-10-06 20:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (43.09 KB, image/jpeg)
2008-09-30 15:43 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-09-30 15:43:03 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. Create Java App
2. Choose from from the main menu: Versioning -> Mercurial -> Initialize project
3. Choose from from the main menu: Recover -> Strip

The dialog doesn't resize to show its 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-30 15:43:46 UTC
Created attachment 70911 [details]
image
Comment 2 Tomas Stupka 2008-09-30 15:56:34 UTC
fixed 

changeset:   104540:fa8c135eaad0
user:        Tomas Stupka <tstupka@netbeans.org>
date:        Tue Sep 30 16:55:57 CEST 2008
Comment 3 Quality Engineering 2008-10-01 17:33:56 UTC
Integrated into 'main-golden', will be available in build *200810011401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fa8c135eaad0
User: Tomas Stupka <tstupka@netbeans.org>
Log: #148757 - I18N - Strip dialog doesn't resize to show its messages
Comment 4 Ken Frank 2008-10-06 20:07:41 UTC
verifying - using 1005 build, ja locale, pseudo localized nb, 16 pt fontsize, solaris

ken.frank@sun.com