-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b38
-
x86
-
windows_xp
-
Verified
I am creating an AWT PrintJob inside a 'for' loop and the loop is repeated for 4 times. I have set the DialogType to NATIVE. On Win XP, when a native application remains open in the back ground (such as Windows Explorer or Wordpad), the native dialog is shown only for the first time. For the subsequent iterations the dialog is getting minimized automatically and shown in the task bar. I need to click it in the task bar to bring it to the front. This occurs only from JDK1.5.0-b05 and works fine on the previous buillds - 1.3.1, 1.4, 1.4.2, JDK1.5.0-b04. This is specific to Win XP and I am not able to reproduce this on Win NT. This works fine for Common Dialog on all builds and for native dialog too when there are no native applications in the background.
I have marked it as regression since this works fine on the previous builds which I have listed above.
I have attached a sample code which would simulate this scenario. Execute the sample code. If you notice the print dialog being minimized for second and subsequent iterations in the presence of a native application in the background, then the bug is reproduced.
This is no longer reproducible since mustang-b38. There was no 2D integration in b38 but AWT integrated fixes on modalities so I'm assuming fix is caused by one of theirs.
I have marked it as regression since this works fine on the previous builds which I have listed above.
I have attached a sample code which would simulate this scenario. Execute the sample code. If you notice the print dialog being minimized for second and subsequent iterations in the presence of a native application in the background, then the bug is reproduced.
This is no longer reproducible since mustang-b38. There was no 2D integration in b38 but AWT integrated fixes on modalities so I'm assuming fix is caused by one of theirs.
- relates to
-
JDK-5013279 REG: Showing common dialog after native print dialog hides the common dialog
-
- Closed
-