JDK-4957565 : Character '|', '~' and more cannot be entered on Danish keyboard
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0,6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux,windows_xp
  • CPU: x86
  • Submitted: 2003-11-20
  • Updated: 2005-06-07
  • Resolved: 2005-06-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b40Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
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.
03-02-2006

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
21-03-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
02-09-2004