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: 5062078
Votes 0
Synopsis Https Trust Dialog in webstart can cause application to seems to hang
Category javawebstart:download_engine
Reported Against 1.4.2
Release Fixed 1.4.2_06, 1.5(tiger-b58) (Bug ID:2117313)
State 10-Fix Delivered, Verified, bug
Priority: 2-High
Related Bugs 4825415 , 4952994 , 4255200
Submit Date 11-JUN-2004
Description
When trust certificate dialog pops up, in a webstarted application, 
user can not reach this dialog, once he/she  makes the dialog 
go behind the webstarted application window. Since the dialog is modal,
user neither can reach the dialog nor can interact with his application.
Hence left with no choice than killing the application. For some users,
it will apprear as if the dialog is making their application to hang.
This is applicable only on MS windows.
Work Around
The workaround is to click on the icon bar of another application, ie. javaws.exe, then minimize it, then the modal dialog will reappear on top of the main application frame. 

  xxxxx@xxxxx   2004-06-15
Evaluation
The problem is coming from awt's modal dialog implementation on win32. 

Awt's bug # is: 
	4255200 : modal dialog should come to the front
See more info. for additional bugs related to this awt bug.

Now in webstart, we took a workarounded fix. The problem is that majority of the
dialogs in webstart are modal and can go behind  the application window. Once
the dialog is behind the app. window, it's almost not possible to interact with
the  app.window or with the dialog (since it's now behind the app.window).  
User can not even minimize the app. window. 

A suggested fix is to have a owner for the modal dialog that's stemming from
java webstart manager. Once there is owner for a modal dialog, as per awt's
modality implementation, the modal dialog can be brought back to the front by either clicking on the app.window or the app. icon on the task bar of win32.
(Here the suggested parent/owner for dialog, is one of the applications windows)

  xxxxx@xxxxx   2004-06-11

can be fixed for all modal dialogs on windows:
If showing a modal dialog on windows w/o an owner, create a small frame (off screen) with the same title, and make it the owner of the dialog.
Show the frame before showing the modal dialog, and dispose it after.
  xxxxx@xxxxx   2004-06-16
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang