-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 8, 11, 17, 21, 22, 23, 24, 25
-
Component/s: client-libs
-
Environment:
Ubuntu 23.10 x64
Ubuntu 24.04 x64
-
b22
-
generic
-
linux_ubuntu
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8373705 | 25.0.3-oracle | Alexey Ivanov | P3 | Resolved | Fixed | master |
| JDK-8374127 | 25.0.3 | Goetz Lindenmaier | P3 | Resolved | Fixed | master |
| JDK-8373786 | 21.0.11-oracle | Alexey Ivanov | P3 | Resolved | Fixed | master |
| JDK-8374131 | 21.0.11 | Goetz Lindenmaier | P3 | Resolved | Fixed | master |
| JDK-8373788 | 17.0.19-oracle | Alexey Ivanov | P3 | Resolved | Fixed | master |
| JDK-8373790 | 11.0.31-oracle | Alexey Ivanov | P3 | Resolved | Fixed | master |
While pressing the 'Tab' key the focus is going to the JRadioButton2 skipping the expected JToggleButton2.
It passes with other LAFs in the same machine and this failure is not noticed in other platforms.
Log:
----------System.out:(5/1017)----------
javax.swing.plaf.metal.MetalLookAndFeel
javax.swing.plaf.nimbus.NimbusLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
javax.swing.JToggleButton[,77,15,33x9,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@42de6306,flags=352,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=null]
javax.swing.JRadioButton[,153,5,33x29,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@3cce5722,flags=360,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=4,left=2,bottom=4,right=2],paintBorder=false,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=2]
----------System.err:(14/943)----------
java.lang.RuntimeException: Wrong Component Selected
at TestButtonGroupFocusTraversal.checkFocusedComponent(TestButtonGroupFocusTraversal.java:169)
at TestButtonGroupFocusTraversal.main(TestButtonGroupFocusTraversal.java:219)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:842)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Wrong Component Selected
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Wrong Component Selected
- backported by
-
JDK-8373705 javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF
-
- Resolved
-
-
JDK-8373786 javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF
-
- Resolved
-
-
JDK-8373788 javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF
-
- Resolved
-
-
JDK-8373790 javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF
-
- Resolved
-
-
JDK-8374127 javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF
-
- Resolved
-
-
JDK-8374131 javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF
-
- Resolved
-
- relates to
-
JDK-8370624 JToggleButton does not display caption if setAction is called
-
- Open
-
-
JDK-8370627 motif look and feel focus traversal order may vary depending on the system version
-
- Open
-
- links to
-
Commit(master)
openjdk/jdk21u-dev/c3f2b286
-
Commit(master)
openjdk/jdk25u-dev/f7310f67
-
Commit(master)
openjdk/jdk/d62553d8
-
Review(master)
openjdk/jdk21u-dev/2527
-
Review(master)
openjdk/jdk25u-dev/110
-
Review(master)
openjdk/jdk/27979