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 112694 - I18N - various windows do not dynamically resize
Summary: I18N - various windows do not dynamically resize
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-08-13 19:19 UTC by Ken Frank
Modified: 2007-09-08 17:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (78.50 KB, image/gif)
2007-08-13 19:21 UTC, Ken Frank
Details
image (126.05 KB, image/gif)
2007-08-13 19:22 UTC, Ken Frank
Details
image (69.15 KB, image/gif)
2007-08-13 19:22 UTC, Ken Frank
Details
image (72.77 KB, image/gif)
2007-08-13 19:23 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-08-13 19:19:28 UTC
this isn't meant to be complete listing of windows that do not dynamically resize
to show all of their contents (user should not need to resize windows except the
overall size of profiler windows that are part of main ide window, but internal
parts of even those windows should show all of their contents)


the code can be checked to see if coding of other windows might need to change related
to this - checking for hardcoded values of setPreferredSize and perhaps setMaximumSize
can help.

often the solution is to use layout managers in a certain way; 
see http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html

and since resize is not an i18n area per se, the regular testing could also run with larger fontsize of 18 or 20
to uncover other possible problems.


assumptions are that users can run at a larger fontsize than default 11 pt font of nb, and that
msgs and labels of translated might be up to 30% longer, as well as that multibyte characters might
take up more room horiz and vert than european characters.  Also, it can vary as to if these situations are shown
based on monitor size/resolution as well as platform.

attached are some gifs that show some of these situations - I was running at 14 pt font using pseudo localized
nb on solaris; even if some given msg or label is > 30% longer as per the pseudo localization, and there is a resize problem
there, at least it can show that it is a situation that might be hardcoded.
Comment 1 Ken Frank 2007-08-13 19:21:30 UTC
Created attachment 46530 [details]
image
Comment 2 Ken Frank 2007-08-13 19:22:12 UTC
Created attachment 46531 [details]
image
Comment 3 Ken Frank 2007-08-13 19:22:44 UTC
Created attachment 46532 [details]
image
Comment 4 Ken Frank 2007-08-13 19:23:20 UTC
Created attachment 46534 [details]
image
Comment 5 Jiri Sedlacek 2007-08-13 21:13:20 UTC
Could you please describe what's wrong with the first screenshot? I cannot see it looking at the strange symbols. 
Thanks.
Comment 6 Ken Frank 2007-08-13 21:24:32 UTC
first sceenshot - on left side - 
Create custom ... 

its not a problem - I thought the 3 dots ... meant that some of the message was not visible
since java does that sometimes when not all of a label can be shown in the size allocated,
but in this case, the 3 dots are actually part of the message itself, Create Custom ...

ken.frank@sun.com

Comment 7 Jiri Sedlacek 2007-08-13 21:28:08 UTC
Exactly - that's just a sign that this link will open new dialog. So only the second and third screenshots represent 
some problems.
Comment 8 Jiri Sedlacek 2007-08-14 16:21:35 UTC
I'm not able to reproduce the problem with Profiling Point customizer shown on third image (id=46532), it resizes 
correctly on my system. Could you please attach the modified bundle with pseudo-localization and specify the Profiler 
(NetBeans IDE) build you are using for testing?

For the second image (id=46531) is just adding horizontal scrollbar to the wizard OK to fix this problem?
Comment 9 Ken Frank 2007-08-14 16:28:40 UTC
for 2nd image, I think hbar can be ok, if its ok ui wise.
but will it solve the problems since it seems for the items under Trigger it might
be that its hardcoded size of each label ?

there is other item on that image, the dropdown items need to show all of their contents;
this was agreed to by ui/xdesign team in general.

ken.frank@sun.com
Comment 10 Jiri Sedlacek 2007-08-14 16:37:49 UTC
Requested bits obtained via email.
Comment 11 Jiri Sedlacek 2007-08-22 14:41:38 UTC
Fixed for Beta1.
Comment 12 Alexander Kouznetsov 2007-09-08 17:35:08 UTC
Ken, could you please verify this issue.
Comment 13 Ken Frank 2007-09-08 17:56:38 UTC
verified.

ken.frank@sun.com