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

There is no the focus border on the selected tab

XMLWordPrintable

      Testsuite name: Swing Functional
      Test name(s): Swing_JTabbedPane/Manual/JTabbedPaneLAFTests/TabbedPaneLAFTest2
      Product(s) tested:JDK 6u121b07 (32bit & 64bit)
      OS/architecture: solaris(10, 11 sparc & x86) with GTK look and feel only
      Reproducible: Always
      Reproducible on machine:Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Is it a Regression: no (same behavior on 6u85b09 and 6u75b13)
      [If Regression] Regression introduced in release/build:
      Test result on the last GAed release for this train:
      [if Fail] Test result on FCS:

      Is it a platform specific issue:

      [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:


      Steps to reproduce:
      1.Download the workspace from /hg/index.cgi/testbase/javase/functional/6/swing to /export/home/egtc/workspace/swing/6/swing/root/swing/9/swing
      2.Install stable jdk6u45b06(32bit)(download from java/re/jdk/6u45/promoted/all/b06/bundles/solaris-sparc/) locate at /export/home/egtc/workspace/swing/jdk1.6.0_45
      3.Install base jdk6u121b06(32bit)(download from java/re/jdk/6u121/promoted/all/b06/bundles/solaris-sparc/) locate at /export/home/egtc/workspace/swing/jdk1.6.0_121b06
      4.Install target jdk6u121b07(32bit)(download from java/re/jdk/6u121/promoted/all/b07/bundles/solaris-sparc/) locate at /export/home/egtc/workspace/swing/jdk1.6.0_121b07
      5.Install ute (download from net/stt-13.ru.oracle.com/export/home0/ute-dev/bin/ute)loacte at /export/home/egtc/workspace/swing/ute/ute
      6.Create results at /export/home/egtc/workspace/swing/results
      7.Create the /export/home/egtc/workspace/swing/6/swing/testlist/testlist.Swing_All_Manual as:
      Swing_JTabbedPane/Manual/JTabbedPaneLAFTests/TabbedPaneLAFTest2 execute_script "manual"
      8.Modify the test_swing.sh as:
      /export/home/egtc/workspace/swing/ute/ute run -harness tonga -env TONGA_JAR=/export/home/egtc/workspace/swing/ute/tool/tonga/tonga4.0.jar -env KEYWORDS=manual -env BASEBUILD=/export/home/egtc/workspace/swing/jdk1.6.0_121b06 -env STABLE_JAVA_HOME="/export/home/egtc/workspace/swing/jdk1.6.0_45" -component swing -jdk "/export/home/egtc/workspace/swing/jdk1.6.0_121b07" -testlist /export/home/egtc/workspace/swing/6/swing/testlist/testlist.Swing_All_Manual -testbase /export/home/egtc/workspace/swing/6/swing -results /export/home/egtc/workspace/swing/results

      Case Instruction:
      scenario 2:Click on the already selected Tab of the Tabbedpane(single click on tab do NOT move focus on tab handle,but second one -moves it.)Verify that a focus border appears around the Tab(All L&Fs).Verify that the Tab appears slightly higher than the rest of the selected tabs.(On Win,Motif & GTK L&F only,on others please click on Pass.)

      Actual behavior:
      When a tab have been selected,the focus border didn't appear. refer to TabbedPane.jpg


      So focus exists but it is not rendered for GTK LaF on Solaris. See JDK-8157063 also. It contains similar problem with tabs focus.

            abhiscxk Abhishek Kumar
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: