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 33872 - I18N - Some parts of javadoc comment window do not fully appear in other locales when translated and/or using larger font sizes
Summary: I18N - Some parts of javadoc comment window do not fully appear in other loca...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: I18N
Depends on:
Blocks: 33246
  Show dependency tree
 
Reported: 2003-05-23 21:11 UTC by Ken Frank
Modified: 2005-07-18 13:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
javadoc comment window (14.22 KB, image/gif)
2003-05-23 21:13 UTC, Ken Frank
Details
Proposed patch (51.02 KB, patch)
2003-06-11 14:22 UTC, Tomas Hurka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2003-05-23 21:11:46 UTC
Using pseudo localized product, with each message
or label
having additional multibyte text, and using
-fontsize 16 option,
running in Chinese locale,
the buttons at bottom of javadoc  comment window
do not fully appear without the window/dialog
needing to be resized. (see attachment)

Chinese localization will use a larger font than
default
one now used so these issues will be more visible
to them,
but this can also be viewed as a general or a11y
issue
since may be visible to users in english locale
who use larg
er
fonts.

Assumption is that user should be able to see
all items in a given window when it appears and
should
not need to resize it to see those things.

That is, the UI area or window should dynamically
resize its
elf
to show the needed contents.
(this does not apply to contents of textfields,
areas contro
lledTo emulate in non multibyte locale without
multibyte
in messages or longer messages, you may need to
run
with fontsize 18 or 20 to see what we are seeing
with
fontsize 16. Even with larger sizes, it may not be
seen exac
tly
the same due to the effect of multibyte and longer
strings.

This issue is marked with the FONTSIZE keywork;
bugs so mark
ed
will not appear on quality dashboards and will not
need
to be waived or fixed for English FCS products of
this relea
se.

For Netbeans issues, this will be marked as
blocking 33246
by scrollbars or vertical resizing controls like
in options
window)
Comment 1 Ken Frank 2003-05-23 21:13:53 UTC
Created attachment 10412 [details]
javadoc comment window
Comment 2 Tomas Hurka 2003-06-11 14:22:41 UTC
Created attachment 10654 [details]
Proposed patch
Comment 3 _ tboudreau 2003-06-12 10:03:57 UTC
AutoCommentPanel's form file explicitly sets the preferred
size.  Delete this setting and it should solve the problem.
Comment 4 Tomas Hurka 2003-06-13 13:49:45 UTC
Ok, it seems to be fixed in trunk.
Checking in AutoCommentPanel.form;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/
AutoCommentPanel.form,v  <--  AutoCommentPanel.form
new revision: 1.19; previous revision: 1.18
done
Checking in AutoCommentPanel.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/AutoCommentPanel.java,v  
<--  AutoCommentPanel.java
new revision: 1.49; previous revision: 1.48
done
Checking in AutoCommentTopComponent.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/
AutoCommentTopComponent.java,v  <--  AutoCommentTopComponent.java
new revision: 1.26; previous revision: 1.25
done
Checking in JavaDocEditorPanel.form;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/JavaDocEditorPanel.form,v  
<--  JavaDocEditorPanel.form
new revision: 1.20; previous revision: 1.19
done
Checking in JavaDocEditorPanel.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/JavaDocEditorPanel.java,v  
<--  JavaDocEditorPanel.java
new revision: 1.48; previous revision: 1.47
done
Checking in NewTagDialog.form;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/NewTagDialog.form,v  
<--  NewTagDialog.form
new revision: 1.9; previous revision: 1.8
done
Checking in NewTagDialog.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/NewTagDialog.java,v  <--  
NewTagDialog.java
new revision: 1.16; previous revision: 1.15
done
Checking in ParamTagPanel.form;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/ParamTagPanel.form,v  
<--  ParamTagPanel.form
new revision: 1.10; previous revision: 1.9
done
Checking in ParamTagPanel.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/ParamTagPanel.java,v  
<--  ParamTagPanel.java
new revision: 1.23; previous revision: 1.22
done
Checking in SeeTagPanel.form;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/SeeTagPanel.form,v  <--  
SeeTagPanel.form
new revision: 1.9; previous revision: 1.8
done
Checking in SeeTagPanel.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/SeeTagPanel.java,v  <--  
SeeTagPanel.java
new revision: 1.21; previous revision: 1.20
done
Checking in SerialFieldTagPanel.form;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/SerialFieldTagPanel.form,v  
<--  SerialFieldTagPanel.form
new revision: 1.9; previous revision: 1.8
done
Checking in SerialFieldTagPanel.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/SerialFieldTagPanel.java,v  
<--  SerialFieldTagPanel.java
new revision: 1.23; previous revision: 1.22
done
Processing log script arguments...
Mailing the commit message to cvs@javadoc.netbeans.org (from thurka@netbeans.org)
Comment 5 Vitezslav Stejskal 2003-06-13 14:35:38 UTC
I reviewed the diff and fix seems to be ok. See also:
http://javadoc.netbeans.org/servlets/ReadMsg?msgId=530383&listName=cvs
Comment 6 Tomas Hurka 2003-06-13 15:38:45 UTC
Merged to release35 branch.
Comment 7 Milan Kubec 2003-06-18 10:59:22 UTC
Visual appearance of dialogs verified with -fontsize 14 argument in
Nevada_Build030616_1, locale en.
Comment 8 Milan Kubec 2003-06-18 16:58:12 UTC
Reopening to change to RESOLVED only.
Comment 9 Milan Kubec 2003-06-18 16:59:31 UTC
Changing to RESOLVED again.
Comment 10 Ken Frank 2003-07-21 22:37:55 UTC
Can't verify yet since some on my team testing fix saw that
window was at maximum width but not all message/label shows
since window cant be resized any more (by user or programatically
I think)

So in this case should window wrap, or have scrollbar, or somehow
resize to be bigger than screen width (dont know if this is possible)

Or should there be global issue on this since we've seen situation
with some other areas ?

ken.frank@sun.com
Comment 11 Max Sauer 2005-07-18 13:29:43 UTC
This functionality is now handled by the Auto Comment tool. The design of the
window has changed vastly since 3.5, now it part of the IDE and its resizable.
I've tried to reroduce it without success in 2005071201800, --fontsize 18. Closing.