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 139737 - I18N - New Database Connection dialog doesn't resize to show one of its labels
Summary: I18N - New Database Connection dialog doesn't resize to show one of its labels
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: John Baker
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-07-11 14:52 UTC by kaa
Modified: 2008-07-31 16:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (60.99 KB, image/jpeg)
2008-07-11 14:53 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-07-11 14:52:29 UTC
Product Version: NetBeans IDE Dev (Build 0710)
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 the Japan locale, using a pseudo localized Netbeans with font size 16 option.

1. Start bundled MySQL server
2. Select test database
3. Choose Connect... from the pop-up menu

New Database Connection dialog appears. It doesn't resize to show 'Additional Props' label properly.
The label looks overlapped with a text area.


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-11 14:53:09 UTC
Created attachment 64339 [details]
image
Comment 2 David Vancouvering 2008-07-28 23:36:55 UTC
Yes, I know this problem.  I agree it's probably a P2.  I have been *struggling* with Matisse to get it to do this
correctly, it is *so* annoying.
Comment 3 David Vancouvering 2008-07-28 23:38:46 UTC
Actually, John, maybe you know how to fix this quickly, so I'll reassign to you.  I think I'm missing something with how
to work with Matisse.
Comment 4 John Baker 2008-07-29 00:49:50 UTC
I may have a fix to make "Additional Props:" fit.

It looks like the vertical spacing for the "Remember Password" checkbox was a little too tight.

However, with my fix the width of the textfield for "Additional Props:"  is a little shorter (at runtime) than the other
textfields.
If there's a preference they are the same size then the other textfields width can be shortened.
Comment 6 Quality Engineering 2008-07-29 15:41:12 UTC
Integrated into 'main-golden', available in build *200807291401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/9a18f9fdfbc6
User: John Baker <jbaker@netbeans.org>
Log: #139737 I18N - New Database Connection dialog doesn't resize to show one of its labels
Comment 7 Roman Mostyka 2008-07-29 16:49:14 UTC
Andrey, can you verify the fix and update this issue?
Comment 8 kaa 2008-07-31 16:01:17 UTC
verified:

Product Version: NetBeans IDE Dev (Build 200807301401)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22