United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4395157 : Can't type '%' in applets with JRE 1.3 under Linux

Details
Type:
Bug
Submit Date:
2000-12-05
Status:
Resolved
Updated Date:
2002-04-25
Project Name:
JDK
Resolved Date:
2002-04-25
Component:
client-libs
OS:
linux
Sub-Component:
java.awt
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.3.0
Fixed Versions:
1.4.1 (hopper)

Related Reports
Relates:

Sub Tasks

Description

Name: skT45625			Date: 12/05/2000


java full version "1.3.0_01"

I'm local = FR
I use Netscape 6 but same problem with Netscape 4.75
I use english version of these navigators.

Really simple to reproduce the bug:
test the applet
http://192.9.48.9/products/plugin/1.3.0_01/demos/jfc/SwingSet2/SwingSet2.html
and try to type '%' and some others characters in a JTextField:
Nothing appends !

Rq: no pbm with JRE 1.2.2
(Review ID: 113306) 
======================================================================

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
hopper

FIXED IN:
hopper

INTEGRATED IN:
hopper


                                     
2004-06-14
WORK AROUND



Name: skT45625			Date: 12/05/2000


Go back to JRE 1.2.2 ( only with netscape 4.75 )
======================================================================
                                     
2004-06-11
EVALUATION

I am unable to reproduce this and have emailed the submitter for more details.
scott.violet@eng 2000-12-14

From the submitter:
Their is not only '%' whish doesn't work.
List of characters doesn't displaying ( one key per line ):

1 &   (same key )
2 ?   
3 "   
5 (   
7 ?   
8 _   
9 ?   
0 ?   
)  ?  
% ?   
^ ?   
$ ?   
* ?   
! ?   
: /   

Displaying:
4 '
6 -
= +
; .
, ?   


Notice: when a key doesn't display, the corresponding shifted key doesn't work
neither.



  >I'll
 plead ignorant, do you use a special keyboard too?

I use a standard french keyboard.


Additional informations:

1- I set
local=en_US  from local=fr_FR  but it doens't change anything to this point.
2- The problem doesn't occur inside a stand-alone application. It's an
applet 1.3-specific problem.

3- The bug occurs in JRE version 1.3.0 and 1.3.0-01  but NOT in 1.2.2.


Waiting for a patch or next JRE version, I use JRE 1.2.2 but I have to
recompile our projects which are usually built in 1.3 and it changes many
things in installation processes of our products. This bug is a pretty hard
problem  for our company.

scott.violet@eng 2001-01-03

Name: pzR10082			Date: 01/25/2001


I can't reproduce this with Merlin, too. I use:
- Mandrake Linux 7.2, kernel 2.2.17
- Netscape 4.75
- Java plugin 1.4.0-beta-b48

###@###.### 2000-01-25


I've attached a test program I sent to the submitter. I have also attached the output they got from running it. You'll notice that for many of these key combinations keyTyped events aren't generated. As this appears to be an AWT issue, I'm reassinging. Submitter noted that problem doesn't occur with IBM vm. I'll also note that submitter is very helpful, email him for more information if you needed it.
scott.violet@eng 2001-03-05

This is probably another instance of 4347983.  
Commit to fix in Merlin.  
eric.hawkes@eng 2001-03-05

I tested on redhat linux by hooking up a german PC keyboard and changing the 
xmodmap to a french layout.  It's pretty broken with 1.3, but seems to 
work well with Ladybird.  Probably a dupe of 4371923.  
eric.hawkes@eng 2001-03-07

Emailed the submitter for more information (i.e. his xmodmap) 
on March 7, 2001.  
eric.hawkes@eng 2001-03-07

The submitter's xmodmap is as follows:  

keycode   8 =
keycode   9 = Escape
keycode  10 = ampersand 1 onesuperior exclamdown
keycode  11 = eacute 2 asciitilde oneeighth
keycode  12 = quotedbl 3 numbersign sterling
keycode  13 = apostrophe 4 braceleft dollar
keycode  14 = parenleft 5 bracketleft threeeighths
keycode  15 = minus 6 bar fiveeighths
keycode  16 = egrave 7 grave seveneighths
keycode  17 = underscore 8 backslash trademark
keycode  18 = ccedilla 9 asciicircum plusminus
keycode  19 = agrave 0 at degree
keycode  20 = parenright degree bracketright questiondown
keycode  21 = equal plus braceright dead_ogonek
keycode  22 = BackSpace
keycode  23 = Tab ISO_Left_Tab
keycode  24 = a A ae AE
keycode  25 = z Z guillemotleft less
keycode  26 = e E
keycode  27 = r R paragraph registered
keycode  28 = t T tslash Tslash
keycode  29 = y Y leftarrow yen
keycode  30 = u U downarrow uparrow
keycode  31 = i I rightarrow idotless
keycode  32 = o O oslash Ooblique
keycode  33 = p P thorn THORN
keycode  34 = dead_circumflex dead_diaeresis dead_diaeresis dead_abovering
keycode  35 = dollar sterling currency dead_macron
keycode  36 = Return
keycode  37 = Control_L
keycode  38 = q Q at Greek_OMEGA
keycode  39 = s S ssharp section
keycode  40 = d D eth ETH
keycode  41 = f F dstroke ordfeminine
keycode  42 = g G eng ENG
keycode  43 = h H hstroke Hstroke
keycode  44 = j J
keycode  45 = k K kra ampersand
keycode  46 = l L lstroke Lstroke
keycode  47 = m M mu masculine
keycode  48 = ugrave percent dead_circumflex dead_caron
keycode  49 = twosuperior asciitilde notsign
keycode  50 = Shift_L
keycode  51 = asterisk mu dead_grave dead_breve
keycode  52 = w W lstroke Lstroke
keycode  53 = x X guillemotright greater
keycode  54 = c C cent copyright
keycode  55 = v V leftdoublequotemark grave
keycode  56 = b B rightdoublequotemark apostrophe
keycode  57 = n N
keycode  58 = comma question dead_acute dead_doubleacute
keycode  59 = semicolon period horizconnector multiply
keycode  60 = colon slash periodcentered division
keycode  61 = exclam section dead_belowdot dead_abovedot
keycode  62 = Shift_R
keycode  63 = KP_Multiply
keycode  64 = Alt_L Meta_L
keycode  65 = space
keycode  66 = Caps_Lock
keycode  67 = F1
keycode  68 = F2
keycode  69 = F3
keycode  70 = F4
keycode  71 = F5
keycode  72 = F6
keycode  73 = F7
keycode  74 = F8
keycode  75 = F9
keycode  76 = F10
keycode  77 = Num_Lock Pointer_EnableKeys
keycode  78 = Scroll_Lock
keycode  79 = KP_Home KP_7
keycode  80 = KP_Up KP_8
keycode  81 = KP_Prior KP_9
keycode  82 = KP_Subtract
keycode  83 = KP_Left KP_4
keycode  84 = KP_Begin KP_5
keycode  85 = KP_Right KP_6
keycode  86 = KP_Add
keycode  87 = KP_End KP_1
keycode  88 = KP_Down KP_2
keycode  89 = KP_Next KP_3
keycode  90 = KP_Insert KP_0
keycode  91 = KP_Delete KP_Decimal
keycode  92 =
keycode  93 =
keycode  94 = less greater
keycode  95 = F11
keycode  96 = F12
keycode  97 = Home
keycode  98 = Up
keycode  99 = Prior
keycode 100 = Left
keycode 101 =
keycode 102 = Right
keycode 103 = End
keycode 104 = Down
keycode 105 = Next
keycode 106 = Insert
keycode 107 = Delete
keycode 108 = KP_Enter
keycode 109 = Control_R Multi_key
keycode 110 = Pause Break
keycode 111 = Print Execute
keycode 112 = KP_Divide
keycode 113 = Mode_switch Multi_key
keycode 114 =
keycode 115 = Super_L
keycode 116 = Super_R Multi_key
keycode 117 = Menu
keycode 118 =
keycode 119 =
keycode 120 =

The remaining entries in the list are all empty.  

The percent is under keycode 48 (looks like shift-ugrave).  

eric.hawkes@eng 2001-03-08

This was probably fixed with all the keyboard work we did in Ladybird 
and Merlin (e.g. 4371923).  

eric.hawkes@eng 2001-03-26

We tried to contact the submitter, but no response.  I'll ask again after 
beta3 is released.  

###@###.### 2001-08-25

This bug requires a French keyboard to verify, which most of us do not have. 
Therefore, SQE does not need to verify this fix.  

###@###.### 2002-04-17
                                     
2001-08-25



Hardware and Software, Engineered to Work Together