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

[macosx] The tabs can't be aligned when we pressing the key of 'R','B','L','C' or 'T'.

XMLWordPrintable

      Testsuite name: Swing Regression
      Test name(s): javax/swing/JTabbedPane/4666224/bug4666224.html
      Product(s) tested: JDK 9 b92
      OS/architecture: Mac 10.11 x64



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

      Is it a Regression: No
      [If Regression] Regression introduced in release/build:
      Test result on the last GAed release for this train: Failed as the same issue(JDK 8u66 b18 on the same OS)
      [if Fail] Test result on FCS: Mac 10.10 can not support the installation of JDK 1.8.0

      Is it a platform specific issue: Yes (same build with Win7 sp1 x64: Pass
                                                             same build with Solaris 11.2 x64: Pass
                                                             same build with Solaris11.3 sparc: Pass
                                                             same build with 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:

      (1)Note : Incase of Assertion failure,user can enter
       remarks by pressing 'Assertion Fail Remarks ' button
       
       You would see an applet with JTabbedPane. Keep the size of applet
      variable.
       
       ON ALL PLATFORMS
      1. type 'R' to align the tabs to the right side
      2. Lose focus on the window by clicking on some other window
      3. Focus indicator should disappear
      4. Regain focus on the window the focus indicator should reappear.
       If focus doesn't behave as above,
       press 'Assertion Fail' else press 'Assertion Pass'

      (2)Note : Incase of Assertion failure,user can enter
       remarks by pressing 'Assertion Fail Remarks ' button
       
       You would see an applet with JTabbedPane. Keep the size of applet
      variable.
       
       ON ALL PLATFORMS
      1. type 'B' to align the tabs to the bottom side
      2. Lose focus on the window by clicking on some other window
      3. Focus indicator should disappear
      4. Regain focus on the window the focus indicator should reappear.
       If focus doesn't behave as above,
       press 'Assertion Fail' else press 'Assertion Pass'

      (3)Note : Incase of Assertion failure,user can enter
       remarks by pressing 'Assertion Fail Remarks ' button
       
       You would see an applet with JTabbedPane. Keep the size of applet
      variable.
       
       ON ALL PLATFORMS
      1. type 'L' to align the tabs to the left side
      2. Lose focus on the window by clicking on some other window
      3. Focus indicator should disappear
      4. Regain focus on the window the focus indicator should reappear.
       If focus doesn't behave as above,
       press 'Assertion Fail' else press 'Assertion Pass'

      (4)Note : Incase of Assertion failure,user can enter
       remarks by pressing 'Assertion Fail Remarks ' button
       
       You would see an applet with JTabbedPane. Keep the size of applet
      variable.
       
       ON ALL PLATFORMS
      1. type 'C' to change the tab layout to WRAP_TAB_LAYOUT
      2. Lose focus on the window by clicking on some other window
      3. Focus indicator should disappear
      4. Regain focus on the window the focus indicator should reappear.
       If focus doesn't behave as above,
       press 'Assertion Fail' else press 'Assertion Pass'

      (5)Note : Incase of Assertion failure,user can enter
       remarks by pressing 'Assertion Fail Remarks ' button
       
       You would see an applet with JTabbedPane. Keep the size of applet
      variable.
       
       ON ALL PLATFORMS
      1. type 'T' to align the tabs to the top side
      2. Lose focus on the window by clicking on some other window
      3. Focus indicator should disappear
      4. Regain focus on the window the focus indicator should reappear.
       If focus doesn't behave as above,
       press 'Assertion Fail' else press 'Assertion Pass'

      (6)Note : Incase of Assertion failure,user can enter
       remarks by pressing 'Assertion Fail Remarks ' button
       
       You would see an applet with JTabbedPane. Keep the size of applet
      variable.
       
       ON ALL PLATFORMS
      1. type 'B' to align the tabs to the bottom side
      2. Lose focus on the window by clicking on some other window
      3. Focus indicator should disappear
      4. Regain focus on the window the focus indicator should reappear.
       If focus doesn't behave as above,
       press 'Assertion Fail' else press 'Assertion Pass'

      (7)Note : Incase of Assertion failure,user can enter
       remarks by pressing 'Assertion Fail Remarks ' button
       
       You would see an applet with JTabbedPane. Keep the size of applet
      variable.
       
       ON ALL PLATFORMS
      1. type 'R' to align the tabs to the right side
      2. Lose focus on the window by clicking on some other window
      3. Focus indicator should disappear
      4. Regain focus on the window the focus indicator should reappear.
       If focus doesn't behave as above,
       press 'Assertion Fail' else press 'Assertion Pass'

      Actual behavior:
      The tabs can't be aligned when we pressing the key of 'R','B','L','C' or 'T'.

        1. bug4666224_C.png
          228 kB
          Paul Wu
        2. bug4666224_R.png
          238 kB
          Paul Wu

            kizune Alexander Zuev
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: