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

requesting focus on applet doesn't bring the browser to front

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Not verified

      Description

      PLATFORM:

      Windows, IE, JRE 7.0

      PROBLEM:

      There're two IE windows opened, belonging to the same process.
      At the first window there is an applet with a focusable component inside,
      at the second window there is a JavaScript that triggers focus request
      on the applet. When the second IE window is active requesting focus
      doesn't success:

      - the applet's component is repainted as it would have focus
      - tabbing yet moves focus in the second IE frame
      - the second IE frame still remains the foreground window.

      HOW TO REPRODUCE:

      1. Download attached files: testie.html, testchild.html and TestApplet.java
      2. Compile TestApplet.java
      3. Change "CODEBASE VALUE" parameter in the testie.html to appropriate value
      4. Run the testie.html in the IE browser
      5. Click "Open child" button (the second IE window will appear)
      6. Click "Focus Applet" in the second IE window

      Expected behavior:
        The first IE window will bring to front and the applet's button will gain focus.

      Actual behavior:
        The second IE window remains active and keeps focus in it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ant Anton Tarasov
                Reporter:
                ant Anton Tarasov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: