Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4708158
Votes 0
Synopsis REGRESSION: Duplicate security warnings for applet printing from Java Plugin
Category java_plugin:iexplorer
Reported Against 1.4
Release Fixed 1.4.0_04, 1.4.1_02(Bug ID:2055987) , 1.4.2(mantis) (Bug ID:2055988)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 4764932 , 4822164
Submit Date 26-JUN-2002
Description




FULL PRODUCT VERSION :
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)


FULL OPERATING SYSTEM VERSION :  customer  Windows 2000
[Version 5.00.2195]


EXTRA RELEVANT SYSTEM CONFIGURATION :
Problem occurs with applets embedded in both IE6 and Mozilla
1.0 (both using Sun's Java plugin).

The number of times that the warning dialog is repeated
seems to depend on the printer drivers.. I have tried using
AdobePS generic postscript drivers (printing to file), and
using a Brother HL-1250 printer.

A DESCRIPTION OF THE PROBLEM :
When printing from an applet, using java.awt.print.PrintJob
(with either the Printable or Pageable job interface), the
security warning dialog is repeated many times.  With J2SE
1.3.1, it was shown only once.

REGRESSION.  Last worked in version 1.3.1

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Somebody else has put a demo applet to exhibit this bug at:
http://www.kfki.hu/~cspeter/jvm-bugs/getprintjob.html

Go to this page and follow the instructions there.


ERROR MESSAGES/STACK TRACES THAT OCCUR :
Dialog title: Warning
Dialog contents:
An applet would like to print.
Is this OK?
Yes/No

(this dialog is repeated too many times).


REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
Somebody else has put some source code (and a running demo) to exhibit this bug at:
http://www.kfki.hu/~cspeter/jvm-bugs/getprintjob.html

---------- END SOURCE ----------

Release Regression From : 1.3.1_03
The above release value was the last known release where this 
bug was known to work. Since then there has been a regression.

(Review ID: 158329) 
======================================================================
Work Around
N/A
Evaluation
The warning dialog is generated by Java Plugin. Reassigning this bug
for their evaluation.

  xxxxx@xxxxx   2002-06-26
============================

  xxxxx@xxxxx   2002-07-10
This print dialog box is triggered by the AWT event. Because there are three events come to Java Plugin from AWT, the print dialog box has been triggered three times. This is annoying for customer. We will try to provide an option to customer and they will only see this dialog box once.

Dennis Gu
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang