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: 6704244
Votes 0
Synopsis DnD : Minimizing the desktop applet to the taskbar, leaves the close icon on desktop.
Category java_plugin:plugin2
Reported Against
Release Fixed 6u10(b26)
State 11-Closed, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 19-MAY-2008
Description
When the dragged applet is minimized to that taskbar, the close icon for the applet still remains on the desktop and clicking that, closes the applet.

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

If the applet gets minimized to the taskbar but the closing icon still remains on the desktop, the bug is reproduced.
(See the attachment)
The same behaviour is observed when the steps 3 to 5 are skipped. 

When the applet is minimized to the taskbar, clicking on the desktop close icon, closes the applet !

Tested with java 6u10-b24 PIT on Windows XP and Windows Vista.
Posted Date : 2008-05-19 06:19:43.0
Work Around
N/A
Evaluation
Watch for windowIconified and windowDeiconified events and make the
close button invisible and visible, respectively, in response.

Also refactored the code repositioning the close button, and changed
the hardcoded constants in the maximum bounds for the dragged-out
applet's frame based on earlier review by   xxxxx@xxxxx  .
Posted Date : 2008-05-20 02:01:24.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang