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

plugin2: printing code can be triggered unexpectedly

    Details

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

      Description

      With debug and verbose tracing enabled, printing code can be seen in the trace messages if one navigates away from the applet by clicking on another tab.
      Problem can be reproduced on XP with IE7.
      Steps:
      - open IE7
      - have at least 2 tabs enabled in the same browser window
      - load a simple applet in one tab
      - click on another tab

      The trace messages seen at the Java console and at the dos console are as follows:

      From java console:
      -----
      Applet Status: Applet started
      Applet Status: Told clients applet is started
      PluginMain: processing SetAppletSizeMessage
      PluginMain: setting size of applet 2 to (400, 400)
      PluginMain: processing PrintAppletMessage
      PluginMain: printing applet 2 isPrinterDC = false
      PluginMain: processing PrintAppletMessage
      PluginMain: printing applet 2 isPrinterDC = false
      PluginMain: processing HeartbeatMessage
      PluginMain: processing HeartbeatMessage
      ------


      From dos console:
      ---------
      IExplorerPlugin.SetObjectRects(cAxControl = 0x3712678, left = 12, right = 412, t
      op = 67, bottom = 467)
      IExplorerPlugin.OnDraw(cAxControl = 0x3712678)
      JVMInstance for 1.6.0.10 sending print applet message for applet ID 2, HDC = 147
      6465775, isPrinterDC = false
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      IExplorerPlugin.OnDraw(cAxControl = 0x3712678)
      JVMInstance for 1.6.0.10 sending print applet message for applet ID 2, HDC = 147
      6465775, isPrinterDC = false
      JRE 1.6.0.10: [GC 2201K->1451K(5056K), 0.0030169 secs]
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      JVMInstance (1.6.0.10) processing PrintBandMessage
      ----------

        Attachments

          Activity

            People

            • Assignee:
              ccheung Calvin Cheung
              Reporter:
              ccheung Calvin Cheung
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: