JDK-6702679 : Maximizing a dragged applet maximizes it fully and covers whole desktop.
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2008-05-15
  • Updated: 2010-09-08
  • Resolved: 2008-06-16
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
6u10 b26Fixed
Related Reports
Relates :  
Relates :  
Description
Maximizing the desktop applet covers whole screen alongwith the taskbar and there is no close icon (cross) in the top right corner of the applet in that condition. 

Steps to reproduce :
1) Load following applet inside the browser
http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/AppletCommunication/html/TalkinApplet.html
2) Drag applet out of the browser and close the browser (to drag applet, use ALT + left click)
3) There should be pop-up to create a shortcut. Click "OK" and make sure that shortcut is getting created 
4) Launch the same applet from desktop shortcut.
5) Right click on the taskbar on the applet application and click on the Maximize.

The applet gets maximized and covers the whole screen (desktop), now it is not possible to close (as there is no close icon) or minimize (as taskbar is covered) the applet.

Only switch application (ATL+TAB) or end task (CTRL+ALT+DET) can help the user to exit from this situation.

Comments
SUGGESTED FIX webrev: http://sa.sfbay.sun.com/projects/deployment_data/6u10/6702679.0 testcase: http://j2se.east.sun.com/deployment/www/tests/1.6.0_10/6702679/
19-05-2008

EVALUATION This issue isn't something newly introduced with the draggable applet support. An unsigned applet can create a top-level undecorated Frame and if the user maximizes it it will cover the entire screen including the task bar. In fact, by default, it looks like such a Frame can't even be closed via Alt + F4, where the Frame that is created for the re-executed dragged out applet can be. Worked around the problem by setting the maximized bounds for the frame to something less than the default desktop's size. Also changed how the close button's offset from the applet's frame is computed to make the close button show up in the right place after the applet is maximized.
19-05-2008