United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4957565 Character '|', '~' and more cannot be entered on Danish keyboard
4957565 : Character '|', '~' and more cannot be entered on Danish keyboard

Details
Type:
Bug
Submit Date:
2003-11-20
Status:
Resolved
Updated Date:
2005-06-07
Project Name:
JDK
Resolved Date:
2005-06-07
Component:
client-libs
OS:
linux,windows_xp
Sub-Component:
java.awt
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0,6
Fixed Versions:
6

Related Reports
Duplicate:
Relates:
Relates:

Sub Tasks

Description
Name: rmT116609			Date: 11/20/2003


FULL PRODUCT VERSION :
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Linux suse9 2.4.21-99-default #1 Wed Sep 24 13:30:51 UTC 2003 i686 i686 i386 GNU/Linux


A DESCRIPTION OF THE PROBLEM :
Certain key combinations cannot be entered from a Danish keyboard.

Atleast '|' (alt gr-?) nothing is inserted,  '~' (alt gr-?) nothing is inserted and  ',' (on numerical keyboard) is inserted at a 'square' [decimal separator for danish localization].

Also neither '?' nor '^' can be entered from the keyboard.

Both work perfectly in a terminal window.


See also Bug ID: 4957562

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start the NotePad demo, like:
java -jar <path to install dir>/demo/jfc/Notepad/Notepad.jar

Atleast '|' (alt gr-?) nothing is inserted,  '~' (alt gr-?) nothing is inserted and  ',' (on numerical keyboard) is inserted at a 'square' [decimal separator for danish localization].

Also neither '?' nor '^' can be entered from the keyboard.

Both work perfectly in a terminal window.



REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 226888) 
======================================================================

                                    

Comments
EVALUATION

I'm trying to reproduce a recently reported problem with Brasilian keyboard and have a few questions:
-- what is your Linux (it's Linux bug, this);
-- which java release do you use? This bug is fixed (I hope) in Mustang b40;
-- what is your keyboard seettings (a keyboard-related Section "Input Device" in xorg.conf or XF86Config);
-- what is your locale;
-- most important part, as there's plenty of keyboards and various mappings: what is expected and what you get.
Would be nice to check first keyboard behavior of an editor like Kate. You pres a key combination and get a symbol --
in Java, you don't -- please describe both key combination and the symbol. I'd appreciate if you'd tell where on
your keyboard are those keys:-). For instance, I don't have grave on keycode 49 in pt layout: there's bar and 
backslash.
-- and xev output is always useful, thank you.
                                     
2006-02-03
EVALUATION

We have other reports of similar bugs (with swedish keyboard).  
###@###.### 2003-12-17

There's at least two different issues: as to Separator, it will be fixed in the course of our current refactoring of key event processing (from native code to Java); "tilde" and "bar" problem I cannot reproduce already in 1.5.0 b48 on my SuSE 9.2 box with Danish keyboard.
I have Xorg with XKB enabled and whatever Danish is bundled with the system. In my case, tilde is on AltGr+], and bar on AltGr+=; both keystrokes work quite similar in console with da_DK locale and in Java TextField. 

###@###.### 2005-03-21 12:26:49 GMT

After a fix to 4360364 (umbrella bug), Danish keyboard should work.
###@###.### 2005-05-25 08:26:36 GMT
                                     
2005-03-21
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mustang


                                     
2004-09-02



Hardware and Software, Engineered to Work Together