JDK-5062078 : Https Trust Dialog in webstart can cause application to seems to hang
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_2.3
  • CPU: x86
  • Submitted: 2004-06-11
  • Updated: 2004-09-14
  • Resolved: 2004-06-25
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
1.4.2_06 06Fixed
Related Reports
Relates :  
Relates :  
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.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_06 generic tiger-rc FIXED IN: 1.4.2_06 tiger-rc INTEGRATED IN: 1.4.2_06 tiger-b58 tiger-rc VERIFIED IN: 1.4.2_06
15-09-2004

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) ###@###.### 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. ###@###.### 2004-06-16
16-06-2004

SUGGESTED FIX Have a owner to the dialog that's being generated for Trust certificate ----- use a dummy owner offscreen on windows: http://web-east.east/~ah22606/webrevs/2004/webrev-5062078/ ###@###.### 2004-06-16
16-06-2004

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. ###@###.### 2004-06-15
15-06-2004