JDK-6358889 : Numlock broken when displaying Java applications on Sun Ray on Linux
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2_10,5.0u6
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux_redhat_3.0
  • CPU: sparc
  • Submitted: 2005-12-05
  • Updated: 2011-01-19
  • Resolved: 2005-12-05
Related Reports
Relates :  
Description
When logged in at a Sun Ray appliance on Linux, Numlock enabled, and XKEYBOARD disabled, both functions of the keys on the numerical keypad are applied.

The problem is strictly reproducible both with 1.4.2_10 and with 1.5.0_06,
as well as with earlier update releases.

Testcase:
=========
Red Hat 3.0 AS. Install the SRSS 3.0 or 3.1. Login.
Check that XKEYBOARD is disabled:
  % /usr/X11R6/bin/xdpyinfo | grep XK
  % (nothing)
Start the Notepad demo. On my test system, this is
  % java -jar /opt/java/j2sdk1.4.2_07/demo/jfc/Notepad/Notepad.jar
Type in a few lines of text.
With Numlock turned off, use the numerical keybad. Works fine.

Then turn on Numlock. Now the keys on the numerical keypad are broken,
both functions of the keys are applied.
Example: press the "4" key, it will both write a "4" and go left.

Comments
EVALUATION Fixed in Mustang. In Tiger, fixed conditionally and required an environment variable (see 6173972). So that is rather usability issue, I'm sorry to say. 1.4.2 most probably will not work.
05-12-2005

WORK AROUND Use the SRSS 3.1, and turn on XKEYBOARD using /opt/SUNWut/bin/uxconfig -k on Logout and login again. The problem does not show up when XKEYBOARD is enabled.
05-12-2005