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

[macosx] The focus didn't go through as expected by using Ctrl-Shift-TAB.

XMLWordPrintable

      Testsuite name: Swing Regression
      Test name(s): javax/swing/JSplitPane/4514858/bug4514858.java
      Product(s) tested: JDK 9 b123 (64bit)
      OS/architecture: Mac10.10 x64

      Reproducible: Always
      Reproducible on machine: Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Is it a Regression: Yes (JDK 9 b117/b119 on the same OS:Pass
                                           JDK 9 b120/b122 on the same OS:Failed as the same issue)
      [If Regression] Regression introduced in release/build: b120
      Test result on the last GAed release for this train:
      [if Fail] Test result on FCS:

      Is it a platform specific issue:Yes(The same bulid on Win7 x64: Pass
      The same bulid on Oel6.4 UEK x64: Pass)
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:No
      [If new configuration testing] Issue specific to execution mode or OS/browser version:



      Case instruction:
      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 4" 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.

      Expected behavior:
      Step4: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.Refer to bug4514858.jpg.

      Actual behavior:
      Step4:Press Ctrl-Shift-TAB three times,the focus go through the button "Button 3", then "Button 2", then to the "Button 1",and then press Ctrl-Shift-TAB fourth time,the focus moved to the last enabled button at the bottom of frame.

            aniyogi Avik Niyogi (Inactive)
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: