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

PIT: requestFocusInWindow transfers focus to a component in a frame which is not having focus

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b24
    • CPU:
      x86
    • OS:
      windows_2000, windows_xp
    • Verification:
      Verified

      Description

      The testcase AWT_Focus/Automated/Lw/RequestFocusInWindowTest fails in the PIT build on Windows platform. It passes in mustang b13.

      The testcase popups two frames. It transfers the focus to the second frame, calls requestFocusInWindow method on a component in the non-focused frame. With the PIT build, focus is transferred to the first frame and to the component, whereas it does not happen with b13. This occurs only on Windows platforms.

      To reproduce:

      Attached is the automated testcase
      Compile the java files and run the testcase as follows:
      $JAVA_HOME/bin/appletviewer -Xnosecurity -J-classpath -J<path to awtsqe.jar>/awtsqe.jar RequestFocusInWindowTest.html

      awtsqe.jar is needed for the testcase to compile and run. It can be obtained from /net/sqesvr-nfs.sfbay/global/nfs/ws1/6.0_int/awt/share/lib/awtsqe

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ant Anton Tarasov
              Reporter:
              gramachasunw Girish Ramachandran (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: