-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0_01
-
Fix Understood
-
sparc
-
solaris_8
Customer has the following problem:
on solaris you get key press/key release events even when you keep a key pressed.
On Winnt you don't have this behaviour.
See attached example:
WinNT:
D:\sun>..\jdks\jdk1.3.1\bin\java -cp . Main
enter key pressed
enter key pressed
enter key pressed
enter key pressed
enter key pressed
Solaris:
~ /opt/jre/j2re1.4.0_32bit/bin/java -cp . Main
enter key pressed
enter key released
enter key pressed
enter key released
enter key pressed
enter key released
enter key pressed
enter key released
enter key pressed
enter key released
So customer would like to have the C Function XkbSetDetectableAutoRepeat implemented in java.
With this functions it is possible that the XServer only generates key press events instead of key press/release events.
on solaris you get key press/key release events even when you keep a key pressed.
On Winnt you don't have this behaviour.
See attached example:
WinNT:
D:\sun>..\jdks\jdk1.3.1\bin\java -cp . Main
enter key pressed
enter key pressed
enter key pressed
enter key pressed
enter key pressed
Solaris:
~ /opt/jre/j2re1.4.0_32bit/bin/java -cp . Main
enter key pressed
enter key released
enter key pressed
enter key released
enter key pressed
enter key released
enter key pressed
enter key released
enter key pressed
enter key released
So customer would like to have the C Function XkbSetDetectableAutoRepeat implemented in java.
With this functions it is possible that the XServer only generates key press events instead of key press/release events.
- relates to
-
JDK-4504217 Standardize autorepeat KeyEvent behavior across platforms
- Open