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

in IE7 applet displays a modal dialog from HTML frameset, dialog is not modal

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_03"
      Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
      Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      when you have an applet on a html page or html frameset and the applet displays a modal dialog , in IE6 you cannot press other html hyperlinks on the page or in other html frames (this is the correct behaviour).

      However in IE7 you can click these hyperlinks which means the page the applet is on with the modal dialog displaying now changes to a new page. (this behaviour is incorrect). This is seriously affecting our end users.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      try it yourself on your own website using IE7 browser,
      http://java.sun.com/developer/onlineTraining/awt/exercises/OKDialog/solution/OKDialogApplet.html

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      i expected the behaviour to be the same as in IE6, when the modal dialog shows and all user input to the page is blocked until the dialog is dismissed.
      ACTUAL -
      When the modal dialog shows user input to the page is not blocked , in fact the user can click hyperlinks on the page the applet resides in and move to another page.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      test case using your own URL, just browse to this location in IE7
      http://java.sun.com/developer/onlineTraining/awt/exercises/OKDialog/solution/OKDialogApplet.html

      also test it with this html frameset code

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>Untitled Document</title>
      </head>

      <frameset cols="*,*" frameborder="yes" border="2" framespacing="0">
        <frame src="http://java.sun.com/developer/onlineTraining/awt/exercises/OKDialog/solution/OKDialogApplet.html" name="leftFrame" id="leftFrame" title="leftFrame" />
        <frame src="http://java.sun.com/developer/onlineTraining/awt/exercises/OKDialog/solution/OKDialogApplet.html" name="mainFrame" id="mainFrame" title="AppletFrame" />
      </frameset>
      <noframes><body>
      </body>
      </noframes></html>
      ---------- END SOURCE ----------

      Release Regression From : 6u2
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

        Attachments

          Activity

            People

            • Assignee:
              ccheung Calvin Cheung
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: