JDK-6779725 : Clicking on gnome panel icon of a Frame do not minimize the frame
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u12
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • CPU: sparc
  • Submitted: 2008-12-03
  • Updated: 2011-01-19
  • Resolved: 2008-12-03
Related Reports
Duplicate :  
Description
This is reproducible with 6u12 b02 PIT build on Solaris. I show a Frame and click on the gnome-panel icon of the Frame. This minimizes the Frame first time. When I click on the icon of the Frame again, Frame gets restored. If the icon is clicked again, Frame stays instead of getting iconified. I've to click the icon 3-5 times to minimize the frame again.

To reproduce, run the below test, click on the gnome-panel icon of the frame. 
import java.awt.*;
public class TestFrame {
    public static void main(String[] args) {
        Frame f = new Frame();
        f.setSize(200, 200);
        f.setLocation(40, 40);
        f.setVisible(true);
    }
}