Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6538510

Blocking dialog goes behind the blocked frame when using 'show desktop', win32

XMLWordPrintable

    • b14
    • x86
    • windows_xp
    • Verified

      I am showing a frame with a button. On clicking the button, a JOptionPane message dialog with a null parent. It is an application modal dialog by default and hence blocks the frame. When clicking the frame, the JOptionPane's title flickers. Once both the windows are shown, I am pressing 'Windows key' + 'D' to show the desktop. Both the windows are minimized. I am pressing those keys again to make the windows appear on the screen. When I repeat this a few times, the frame comes on top of the message dialog.

      This is reproducible only on win32, since JDK6-b40. Not reproducible on JDK6-b30 and JDK1.5.0-FCS. Hence a regression introduced by modality changes. Works fine on SolSparc10.

      To reproduce, run the attached test.
      1. Frame will be shown. Move the frame to the center of the screen.
      2. Press 'Windows'+'D'. Everything minimizes.
      3. Press 'Windows'+'D' again. Windows appear.
      4. Repeat this a few times and you would see frame appearing above the dialog.

            art Artem Ananiev (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: