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

Modal dialog goes behind the parent frame when parent is restored from iconify state

    Details

    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Modal dialog goes behind the parent frame when parent is restored from iconify state .

      Step to reproduced
      -----------------------
      1) Run the attached program. You can see a frame on the screen & a TrayIcon is added to the Taskbar (systemtray) , an animated dog.
      2) Right click on the TrayIcon. You can see popupmenu.
      3) Select 'Dialog' menuitem. You can see a Modal dialog on the screen. Try clicking on the parent , the dialog flicker which indicates that the frame is blocked.
      4) Repeat step (2).
      5) Select 'Iconify' menuitem. Observe that Frame (Parent ) gets iconified, but Modal dialog does n't . ( Filed a bug on this 6438985 ).
      6) Repeat step (2)
      7) Select 'Normal' menuitem. You can see that frame is restored to normal state. but dialog goes behind the frame. i,e Frame is at the top of the dialog. If you see the same then the bug is reproduced.
      8) Click on the frame. Observe that dialog comes front of the frame.

      This works fine in Mustang b40 & b42.
      In b48 Clicking on the frame ( step 8) does not get the dialog in front of the frame.
      In b83 (the build which i had )clicking on the frame(step 8) gets the dialog in front of the frame.

      As this scenario works fine in b40 , but dn't work in b48 & b83 to b87 .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                art Artem Ananiev
                Reporter:
                lpremkumsunw Lawrence Premkumar1 (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: