-
Bug
-
Resolution: Fixed
-
P3
-
7
I am showing a frame with a button. On clicking the button, I am creating a parent-less FileDialog and showing it. When the file dialog first appears, the java icon appearing on the top-left corner of the dialog overlaps on the dialog's title. But when I click somewhere on the dialog or the frame, the title bar of the file-dialog flashes and it gets repainted properly. So this problem is seen only the first time the file dialog appears.
This is reproducible only on Win32 and only with the jdk7-b15 AWT PIT build. Not reproducible on JDK7-b13 since FileDialogs do not show icons. This is reproducible only for parent-less file dialogs and parented file-dialogs do not show icons even on the PIT build.
To reproduce the bug, run the attached test and click on the button once the frame comes up. A file dialog will be opened. If the dialog's icon overlaps on the title, the bug is reproduced.
This is not specific to FileDialog and reproducible with Native Print and Page dialogs as well.
I have attached a test for your reference.
Attached screensots of native page dialog, print dialog and file dialog.
This is reproducible only on Win32 and only with the jdk7-b15 AWT PIT build. Not reproducible on JDK7-b13 since FileDialogs do not show icons. This is reproducible only for parent-less file dialogs and parented file-dialogs do not show icons even on the PIT build.
To reproduce the bug, run the attached test and click on the button once the frame comes up. A file dialog will be opened. If the dialog's icon overlaps on the title, the bug is reproduced.
This is not specific to FileDialog and reproducible with Native Print and Page dialogs as well.
I have attached a test for your reference.
Attached screensots of native page dialog, print dialog and file dialog.