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

REG: setVisible() call is not honored by Dialog when it is in iconified state

    XMLWordPrintable

Details

    • x86
    • linux_redhat_9.0

    Description

      I am popping up a frame, dialog and a window. Frame is the parent of the dialog and dialog is the parent of the window. When I minimize the frame, the dialog gets minimized but not the window. I am calling dialog.setVisible(false) when the dialog is in iconified state. When I restore the frame to NORMAL mode, I could see the dialog being shown on the screen even when I had already called setVisible(false).

      This is reproducible only on Linux and not reproducible on Win32 or Solaris. This is a regression introduced in Tiger and seems to work fine on 1.4, 1.4.1 and 1.4.2.

      I have attached a sample test. Execute the sample test. You would see a window and a frame. Click on the button on the frame. You would get a dialog. Now Minimize the frame by clicking the iconify button on the frame and you would notice that the dialog also gets minimized with the frame. Now click on the button shown on the window. This would call Dialog.setVisible(false). This would make the window also invisible since window is a child of dialog. Now restore the frame to NORMAL state. If you see the dialog being shown on the screen along with the frame, the bug is reproduced.

      Attachments

        Issue Links

          Activity

            People

              dav Andrei Dmitriev (Inactive)
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: