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: 4308606
Votes 0
Synopsis wrong numeric key mapping with french keyboard (azerty)
Category java:classes_awt
Reported Against 1.1.8 , kestrel
Release Fixed 1.4(merlin-beta), 1.3(kestrel-solaris) (Bug ID:2031592)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 4083691 , 4103229 , 4322353
Submit Date 31-JAN-2000
Description
when using a french keyboard (azerty) the numeric keypad generates symbols instead numbers (the bug 4083691 explains that the problem is because a remapping is not done from java before going back to the peer component code).

while bug 4083691 states that this problem has been solved in jdk 1.1.8 and jdk 1.2.2, i've tested with the latest solaris builds of such versions and the problem is still there (and the version 1.1.8 is later than build M).

NOTE: i've tried to reopen bug 4083691 but i can not find my comments and/or the reopen status (my apologies if a duplication happens).
Work Around
we are using a primitive workaround by replacing the TextComponent of the jdk with a hacked one that detects if the KeyEvent keychar is the same as the keychar being displayed in native peer component.

we do not feel comfortable going into production with this fix.
Evaluation
Note: the reason this wasn't fixed under 4083691 is that the original 
responsible engineer noticed the same behavior using US keyboards, and 
assumed that fixing it in the US locale would also take care of the problem 
in the French locale.  
  xxxxx@xxxxx   2000-01-31

Too late to fix this in Kestrel.  Committing to Merlin.  Note: if a fix is 
needed in the 1.1.x product line, it will have to be handled as a technical 
escalation through  CTE.  
  xxxxx@xxxxx   2000-01-31


After speaking with the submitter, it seems as though there are two issues here.  
The first is that the '*' key on the numeric keypad does not work.  This 
problem is specific to the production release - the reference release works 
fine.  I have therefore opened a separate bug report for that issue:  4309430. 

The problem to be addressed in this report is that of the numpad keys working 
incorrectly under the French keyboard layout.  

The submitter has provided a set of scripts that can 
be used to run the various versions of java and change the keyboard layout 
to French or English as needed.  See Comments for details.  

Final note:  I believe the submitter would like a fix for 1.1.x.  However, the 
bug also exists in Kestrel RC1 (build T).  I think that fixing it in 1.1.x requires a technical escalation by CTE.  There is a Suggested Fix in 4083691 
which might work.  

  xxxxx@xxxxx   2000-02-02

The suggested fix in 4080391 is not relevant.  The fix is to translate the 
keycodes for the numeric keypad explicitly in modify_Event.  

  xxxxx@xxxxx   2000-03-22
Comments
  
  Include a link with my name & email   

Submitted On 17-MAR-2001
kasemti
to edit a script, I've an azerty keyboard,, 
I've a problem to set the keyboard settings to an azerty kayboard,



PLEASE NOTE: JDK6 is formerly known as Project Mustang