-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
1.2.0
-
x86, sparc
-
solaris_2.6
JTables do not respond to arrow keys. The problem was observed on a Sparc
running Solaris 2.6 and JDK 1.2fcs-L. The bug is peculiar to Sparc -- the
numeric keypad arrow keys work on intel machines.
algol% uname -a
SunOS algol 5.6 Generic sun4u sparc SUNW,Ultra-2
algol% setenv JDK /net/mulder.eng/export/mulder3/jdk12x/sparc/jdk1.2FCS_L
algol% setenv JCK /net/jde1.eng/export/jtech23/JCK-12a
algol% setenv CLASSPATH ${JCK}/classes:${JCK}/javatest.jar
algol% ${JDK}/bin/java -verify javasoft.sqe.tests.api.javax.swing.interactive.JTable.JTableTests -TestCaseID JTableTest0001
Select a row in the JTable. Then, try to use the arrow keys. The selection
in the JTable will remain unchanged.
allan.jacobs@Eng 1998-10-05
Resize (decrease) the test's Frame vertically until two sets of vertical scrollbars are visible. Use the inner scrollbar (attached to the JTable)
to scroll the JTable. On my machine neither set of arrow keys has any
effect on either set of scrollbars. There is no workaround.
allan.jacobs@Eng 1998-10-12
The problem remains in build N on both sparc and intel.
allan.jacobs@Eng 1998-10-21
Hania Gajewska wrote a small demo program (attached) that echos keystrokes.
There is also a small script X.ksh attached that configures the environment,
compiles the demo program, and runs it.
We ran it on a my platform and changed the display terminal with the DISPLAY
environmental variable. That was sufficient to get the arrow keys to
work (her terminal) and fail (my terminal). This looks like an X-server bug.
To run the demo, type X.ksh at the command line prompt. Click on the
Window in the Frame that comes up so that it has the focus. Hit an 'A' on
the keyboard to verify that the program echos to the command line window.
Now hit all eight arrow keys. On my display there is no response whatsoever.
allan.jacobs@Eng 1998-10-22
In the DtKeyBindings section of the CDE configuration file /home/ajacobs/.dt/en_US/dtwmrc,
there used to be bindings for the arrow keys. I've commented these bindings out.
> # <Key>Down root f.circle_down
> # <Key>Up root f.circle_up
> # <Key>Right root f.next_workspace
> # <Key>Left root f.prev_workspace
The dtwmrc file with the bindings was generated by a system administrator and
distributed Solaris-group wide. The key-binding problem should be flagged as
a support issue on machines that support CDE.
With the key bindings commented out, JTables respond to the non-numeric arrow keys.
allan.jacobs@Eng 1998-10-26
- relates to
-
JDK-4268912 JCK Failure: Non-numeric Home/End keys do not work for x86 JLists.
-
- Resolved
-
-
JDK-4178458 Javax_swing classes do not respond to both sets of arrow keys.
-
- Resolved
-