-
Enhancement
-
Resolution: Fixed
-
P4
-
8, 11, 17, 18, 19
-
b15
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8289423 | 17.0.5-oracle | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8291614 | 17.0.5 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8289441 | 11.0.17-oracle | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8291615 | 11.0.17 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8289715 | 8u351 | Dukebot | P4 | Resolved | Fixed | b01 |
Issue identified in
Typing a letter while a JTree has focus now makes the selection jump to the first/next node/item whose text starts with that letter even though that letter is accompanied by modifier keys such as ALT or CTRL.
Fix:
Only enable JTree letter navigation when the user doesn't press any modifier keys such as ALT or CTRL.
Testing:
Java 1.4.0 -> Test Failed.
$ ./j2sdk1.4.0/bin/java JTreeOld
LookAndFeel: javax.swing.plaf.metal.MetalLookAndFeel
OS = windows nt (unknown)
java.lang.RuntimeException: Test Failed, expected colors, but got food
at JTreeOld.doTest(JTreeOld.java:166)
at JTreeOld.main(JTreeOld.java:32)
Exception in thread "main"
Java 1.4.1 -> Test Passed.
$ ./j2sdk1.4.1/bin/java JTreeOld
LookAndFeel: javax.swing.plaf.metal.MetalLookAndFeel
OS = windows nt (unknown)
Test passed javax.swing.plaf.metal.MetalLookAndFeel
LookAndFeel: com.sun.java.swing.plaf.motif.MotifLookAndFeel
OS = windows nt (unknown)
Test passed com.sun.java.swing.plaf.motif.MotifLookAndFeel
LookAndFeel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
OS = windows nt (unknown)
Test passed com.sun.java.swing.plaf.windows.WindowsLookAndFeel
- backported by
-
JDK-8289423 Create a regression test for the JTree usecase of JDK-4618767
- Resolved
-
JDK-8289441 Create a regression test for the JTree usecase of JDK-4618767
- Resolved
-
JDK-8289715 Create a regression test for the JTree usecase of JDK-4618767
- Resolved
-
JDK-8291614 Create a regression test for the JTree usecase of JDK-4618767
- Resolved
-
JDK-8291615 Create a regression test for the JTree usecase of JDK-4618767
- Resolved
- relates to
-
JDK-4618767 REGRESSION: First letter navigation in JTree/JList interferes with mnemonics
- Closed
- links to
-
Commit openjdk/jdk11u-dev/672e3c23
-
Commit openjdk/jdk17u-dev/11e8a916
-
Commit openjdk/jdk/83a1c904
-
Review openjdk/jdk11u-dev/1286
-
Review openjdk/jdk17u-dev/609
-
Review openjdk/jdk/7742