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 141567 - I18N - Multiline tooltip probably has its size hardcoded
Summary: I18N - Multiline tooltip probably has its size hardcoded
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-07-24 15:43 UTC by kaa
Modified: 2008-08-13 14:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (54.57 KB, image/jpeg)
2008-07-24 15:44 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-07-24 15:43:29 UTC
Product Version: NetBeans IDE Dev (Build 20080721233246)
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.

I saw multi line tooltip in front of a "bulb" in java code editor. Sometimes it has long messages and they are not
properly visible. There was a separate tooltip for each of them but the content is a bit different. Probably the size of
the tooltip is fixed.


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-24 15:44:11 UTC
Created attachment 65551 [details]
image
Comment 2 Peter Pis 2008-07-30 10:05:41 UTC
Reassigning to editor.
Comment 3 Jan Becicka 2008-07-30 13:11:48 UTC
Maxi, please.
Comment 4 Max Sauer 2008-07-31 10:54:28 UTC
I'm not sure if I got it right, but Hint list now resizes itself up to right screen border.
---
http://hg.netbeans.org/main/rev/ebbf981c331d
Comment 5 Quality Engineering 2008-07-31 15:51:13 UTC
Integrated into 'main-golden', available in build *200807311401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/ebbf981c331d
User: Max Sauer <msauer@netbeans.org>
Log: #141567: I18N - Multiline tooltip probably has its size hardcoded
Comment 6 kaa 2008-08-13 14:31:45 UTC
verified:

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