-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b40
-
x86
-
linux, linux_redhat_9.0
Name: ynR10250 Date: 11/27/2003
On the system with Gnome & xkb, use any layout with non-latin
additional group of symbols (for instance, Russian). There's
an example of InputDevice section in XFree86 config file:
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:shift_toggle"
EndSection
The same layout, at least in theory, may be created at runtime
by calling
setxkbmap -layout "us,ru" -option "grp:shift_toggle" -rules xfree86 -model pc105
Switch between groups by pressing left then right Shift.
Compile and run a simplest test:
import java.awt.*;
public class AcTest {
static Frame frame = null;
static TextField tf = null;
public static void main( String args [] ) {
frame = new Frame("Input test");
tf = new TextField();
frame.add( tf);
frame.setSize(200,80);
frame.setLocation(300,300);
frame.setVisible( true );
}
}
Switch to Russian, select text field and type 'q':
there must be 0x0439 character added but will be no input at all.
Also, no events generated.
======================================================================
On the system with Gnome & xkb, use any layout with non-latin
additional group of symbols (for instance, Russian). There's
an example of InputDevice section in XFree86 config file:
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:shift_toggle"
EndSection
The same layout, at least in theory, may be created at runtime
by calling
setxkbmap -layout "us,ru" -option "grp:shift_toggle" -rules xfree86 -model pc105
Switch between groups by pressing left then right Shift.
Compile and run a simplest test:
import java.awt.*;
public class AcTest {
static Frame frame = null;
static TextField tf = null;
public static void main( String args [] ) {
frame = new Frame("Input test");
tf = new TextField();
frame.add( tf);
frame.setSize(200,80);
frame.setLocation(300,300);
frame.setVisible( true );
}
}
Switch to Russian, select text field and type 'q':
there must be 0x0439 character added but will be no input at all.
Also, no events generated.
======================================================================
- duplicates
-
JDK-4967868 Problem with danish characters in TextField
- Closed
- relates to
-
JDK-5033605 KP_Separator handled wrong in KeyEvents
- Closed
-
JDK-5057184 regression: direct input of ISO-8859-2 diacriticals fail on Linux
- Closed
-
JDK-5056432 REGRESSION: Can't type some non-ASCII characters with Slovenian keyboard
- Closed
-
JDK-4360364 Cyrillic input isn't supported under JRE 1.2.2 & 1.3 for Linux
- Resolved