Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5014050

Regression-test javax/swing/JSplitPane/4514858/bug4514858.java fails

XMLWordPrintable

    • b47
    • generic
    • generic
    • Verified



      Name: iaR10016 Date: 03/16/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b42, JDK1.4.2-b28
      Testbase : Regression-test
      Platform[s] : all
      switch/Mode : -client
      Falling test[s]: javax/swing/JSplitPane/4514858/bug4514858.java

      Regression-test javax/swing/JSplitPane/4514858/bug4514858.java test fails using JDK1.5.0-b42
      on all platforms.

      Test Description reads:
      ...
      Test the F6, F8, Ctrl-TAB and Ctrl-Shift-TAB keybinding functionality in JSplitPane
      with different LookAndFeels (switch LookAndFeel with the buttoms at the bottom of the
      frame "Test"):

      1. Move focus to the button "Button 1" in the frame "Test". Then press F6 several times.
      The focus should cycle between five buttons in order from 1 to 5.

      2. Move focus to the button "Button 2" in the frame "Test". Then press F8 three times.
      The splitters of the splitpanes should be highlited in order:
      "JSplitPane 3", "JSplitPane 2", "JSplitPane 1".

      3. Move focus to the button "Button 2" in the frame "Test". Press Ctrl-TAB.
      The focus should go to the "Button 4". Then press Ctrl-TAB again.
      The focus should go to the first enabled button at the bottom of frame.

      4. Move focus to the button "Button 2" in the frame "Test". Press Ctrl-Shift-TAB three times.
      The focus should go through the button "Button 3", then "Button 1", then to the last
      enabled button at the bottom of frame.
      ...

      Please, run the script from "How to reproduce" section and do the steps described in p.4.
      It is expected that the focus goes to "Button3", "Button1" and the to the last enabled button
      at the nottom frame. However, actually it does not happen - focus moves in the following order
      "Button4", "Metal", "Motif", "Button3".

      This bug is reproducible with Metal, Motif and Windows look-and-feels.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/beta2/b42/ws/j2se/test/javax/swing/JSplitPane/4514858/bug4514858.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b42/regtest/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/test-manual/javax/swing/JSplitPane/4514858/bug4514858.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
      --- script start ---
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-8
      OS: Solaris 10 (sparc) (GNOME)

      ======================================================================

            apikalev Andrey Pikalev
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: