Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4366053
Votes 0
Synopsis Appletviewer Properties dialog cannot display ASCII or Asian characters
Category java:classes_awt
Reported Against kest-sol-rc1
Release Fixed
State 6-Fix Understood, bug
Priority: 4-Low
Related Bugs
Submit Date 25-AUG-2000
Description
On Solaris platforms with UTF-8 locales, textfields in frames that have
been packed are not properly sized. This may cause problems with how
the text is displayed including no text displayed at all. To workaround
the problem, resize the frame that contains the textfield(s) and the
text will be displayed properly.In Solaris 8 Asian UTF-8 locales, nothing is displayed on the text field for Appletviewer Properties dialog. User is unable to view or change the settings for Http Proxy Server or Port number.

To reproduce: 
1. Launch appletviewer in affected locales (zh.UTF-8, zh_TW.UTF-8, ko.UTF-8).
2. Select "Applet->Properties" menu.
3. The "Appletviewer Properties" dialog is poped up. The text field to display "Http proxy server" and "Http proxy port" are empty. Nothing is displayed. User is also unable to enter either ASCII or Asian characters.


 xxxxx@xxxxx  2000-08-25
If we resize the dialog box, all characters can be displayed properly.
Work Around
Re-size frame that text fields are in.
Evaluation
It appears that AppletViewer is using java.awt.TextField to display the missing
text (see the constructor for src/share/classes/sun/applet/AppletProps.java).  
I'm going to guess that this is a problem with i18n or awt.  Routing to awt for
their assessment.

 xxxxx@xxxxx  2000-08-27

with setenv LC_ALL en_US.UTF-8,
The problem occurs when the Frame or Dialog is packed.  when using motif 2.1,
the call to awt_motif_getIMStatusHeight() returns 0, even though a visible
status window is present (in the attached small app).  This results in too small
a Frame (or Dialog), and thereby too small a TextField.
The problem also occurs using motif 1.2 on Solaris 7, but does not seem to
happen using motif 1.2 on Solaris 8 ?
 xxxxx@xxxxx  2000-09-08 

This sounds similar to 4379166.  
 xxxxx@xxxxx  2000-12-18

Reproducible on Merlin build 1.4.0-rc-b88 and Solaris 8.
 xxxxx@xxxxx  2001-11-28
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang