JDK-6723525 : DnD "Desktop Integration Warning" doesn't occur until browser window is closed/changed
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-07-08
  • Updated: 2010-09-08
  • Resolved: 2009-01-29
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 JDK 7
6u12 b01Fixed 7Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The applet drag and drop "Desktop Integration Warning" occurs only when the browser window is closed/changed.  This could be days after the applet was drug to the desktop.

Here is a use case that I think we should improve:
drag applet out
do stuff that buries the applet window
close the browser tab that the applet came from.
If I must be prompted now, I expect the dialog to come up right as I 
hit close.
Instead, "Desktop Integration Warning" is flashing behind the browser, 
and when I bring that dialog to the foreground, the Weather now applet 
is not visible if it is behind other windows.

Per Ken R's response to my email:
Please feel free to file an RFE under java/java_plugin/plugin2 about this.

To implement the functionality of creating desktop shortcuts for a 
dragged-out applet in the new Java Plug-In we only call the preexisting 
LocalInstallHandler code in Java Web Start. We could consider calling it 
earlier, when the applet is dragged to the desktop rather than when the 
user switches away from the web page, or at least we could make this an 
option controllable via an applet parameter. In the current code it was 
most natural to call the LocalInstallHandler when the web page was 
closed. Please feel free to file an RFE under java/java_plugin/plugin2 
about this.

See email thread in comments.
To address this RFE we should add a new applet parameter which the developer may specify to have the LocalInstallHandler called as soon as the applet is dragged out of the browser. Suggested parameter:

  <param name="eager_install" value="true">

Comments
EVALUATION A new applet parameter <param name="eager_install" value="true"> is now supported that developers may specify to have the LocalInstallHandler called as soon as the applet is dragged out of the browser.
15-10-2008