JDK-6302514 : XToolkit: Toolkit modal dialog getting blocked by Page/Print dialog
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-07-27
  • Updated: 2011-02-01
  • Resolved: 2005-09-19
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.
JDK 6
6 b53Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
This occurs with XToolkit from mustang b39.

A toolkit modal dialog is getting blocked by Page/Print dialog though they are application modal dialogs by default. Please see the comments section for more details

To reproduce:
1. Run the attached testcase. It shows a Toolkit modal dialog. Click the 'Open' button. It opens a page dialog. If the page dialog blocks the toolkit modal dialog, bug is reproduced.

Comments
EVALUATION Instead of using the active window as the parent, it has been suggested that the print dialogs use new modality APIs in JDK 6. The AWT part of that is there, but the print dialogs use Swing so fixing this means waiting until Swing is updated, specifically until this fix is integrated : 6300062: JDialog need to support true parent-less mode
01-08-2005