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: 6702679
Votes 0
Synopsis Maximizing a dragged applet maximizes it fully and covers whole desktop.
Category java_plugin:plugin2
Reported Against
Release Fixed 6u10(b26)
State 11-Closed, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 15-MAY-2008
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.
Posted Date : 2008-05-15 05:05:19.0
Work Around
N/A
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.
Posted Date : 2008-05-19 03:32:32.0
Comments
  
  Include a link with my name & email   

Submitted On 11-JUL-2008
mbien
>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.

this leads into an other problem when running with decoration enabled (and additional close button disabled). There is now a gap on the right side in maximized state.
Test this applet:
https://fishfarm.dev.java.net/demo/



PLEASE NOTE: JDK6 is formerly known as Project Mustang