JDK-6189161 : Print Dialogue should be modal in 1.4.2/5.0
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-11-02
  • Updated: 2010-08-03
  • Resolved: 2006-07-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
1.4.2_15Fixed 6 b92Fixed
Related Reports
Relates :  
Relates :  
Description
The print dialogues (native ) are not modal.

REPRODUCE:
 1) Compile the attached java program
 2) Invoke the attached .html by double-clicking
    You will see an applet with "print" button
 3) Click the "Print" button
    You will see a print cofirmation dialogue
 4) Click "ok" in print confirmation button
    You will see page setting dialogue.
 5) Click somewhere in the browser
   You will see the page setting dialogue go back.

CONFIGURATION:
   JRE 1.4.2/5.0
   OS : WindowsXP(SP1, Japanese)
   Browser : IE6.0(SP1)
###@###.### 11/2/04 00:37 GMT

Comments
EVALUATION We need to make embeddedframe as the parent of print dialog. This has to be done for all of native and cross-platform print/page dialogs. I also noticed that page dialog's owner is hardcoded as NULL in awt_PrintJob.cpp. This needs to be modified so that we could pass parent from WPrinterJob.java
18-05-2006