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

Browser hangs when we print from an applet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      Testing Env : Wink2k, IE6, JPI_1_4_1

      The dialog type in the class JobAttributes/PrintJob can be native or
      common, the default is native. And the applet can be singed or unsigned. So we have the following four cases:
        
      Please check out the corresponding test cases from the attached test.zip
      file.

      a) Applet singed and JobAttributes.DialogType.COMMON

      Clicking on the print button, the Java print dialog comes up and
      proceeding further, it works.

      b) Applet singed and JobAttributes.DialogType.NATIVE (or not set, means default)

      Clicking on the print button, the OS native print dialog comes up and proceeding further, no print out, the browser hangs.

      c) Applet unsinged and JobAttributes.DialogType.COMMON

      Clicking on the print button, it pops up a dialog "An applet would like to print. Would you like to continue ?"

      When pressed "yes" the Java print dialog comes up and proceeding further, it asks same question again and again few times and finally the browser hangs. No print out.

      d) Applet unsinged and JobAttributes.DialogType.NATIVE (or not set, means default)

      Clicking on the print button, it pops up a dialog "An applet would like to print. Would you like to continue ?"

      When pressed "yes" the OS native print dialog comes up and proceeding further, no print out, the browser hangs.

        Attachments

          Activity

            People

            • Assignee:
              zgu Zhengyu Gu
              Reporter:
              gnagasunsunw Gopinath Nagasundara (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: