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 138112 - I18N - the debugger has fixed size for headers in its windows
Summary: I18N - the debugger has fixed size for headers in its windows
Status: CLOSED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-06-24 16:23 UTC by kaa
Modified: 2010-04-29 09:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (43.42 KB, image/jpeg)
2008-06-24 16:25 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-06-24 16:23:45 UTC
Product Version: NetBeans IDE Dev (Build 200806220002)
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.

Steps:
1. Create WebApp then add a breakpoint somewhere
2. Debug the project

Several windows were opened by the debugger. I could see Watches, Local Variables and Breakpoints.
The second one had its title not completely visible. I wasn't able to resize the header manually.

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-06-24 16:25:46 UTC
Created attachment 63348 [details]
image
Comment 2 Joelle Lam 2008-06-24 18:40:29 UTC
Ken, this is not specific to the JavaScript Debugger.  I just give these windows a Model.  The debugger system offered
by Netbeans is the one to actually create and localize these windows.  Can someone check if these labels are hard coded.
Comment 3 Martin Entlicher 2008-06-24 19:23:23 UTC
This is the default behavior of the NetBeans window system. If the tab is not fully visible, you have the tooltip, which
displays the whole name.
Moving to window system for evaluation.
Comment 4 David Simonek 2008-06-25 10:57:28 UTC
What more winsys can do here? Nothing i would think. If you are running with fontsize 16 and you have limited space,
it's clear that you'll run into these problems. There is nothing we can do on infrastructure side (window system). The
only solution I see is to show less tabs and/or shorten display names.

Passing back, as as this is not winsys issue as I explained.
Comment 5 kaa 2008-06-25 13:16:08 UTC
I agree that the tooltip makes sense. But the possibility to resize the header manually looks better (imho).
If this is expected behavior of the NetBeans window system then close the issue as wontfix.
Comment 6 Martin Entlicher 2008-06-25 13:53:54 UTC
We do not care about tab sizes in debugger. It's a window system issue.
And it has absolutely nothing to do with localization. English titles are shortened as well.
Closing as WONTFIX.
Comment 7 Quality Engineering 2010-04-29 09:40:28 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.