javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF

XMLWordPrintable

    • b22
    • generic
    • linux_ubuntu

        javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF.
        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

              Assignee:
              Alexander Zvegintsev
              Reporter:
              Manukumar V S
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: