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

REG: Window not gaining focus even after the parent dialog is made visible, WinXP

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b24
    • Introduced In Version:
      6
    • Resolved In Build:
      b79
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      I am creating a Frame, Dialog and a Window. Frame is the parent of the dialog and dialog is the parent of the window. Initially I am making the frame and the window visible. Window is not gaining focus when clicked since the dialog is not showing. On clicking a button in the frame, I am opening the modal dialog. Modal dialog does not block the window since the window is it's child. Now I am clicking on the window, expecting it to gain focus. But the window is not gaining focus even after the dialog is shown. But when I hide and shown the dialog again, the window gains focus.

      This is reproducible only on WinXP and not on XToolkit. This is reproducible on Mustang-b73 but not on Tiger-FCS. Hence this is a regression in Mustang.

      I have attached a sample test. Execute the sample test. You would see few windows on the screen. Try clicking on the window located to the left of 'Blocked Frame'. It will not gain focus. Now click on 'Open Dialog' button. A modal dialog will be shown. Now click on the 'Dummy' button on the same window. If it does not gain focus, the bug is reproduced (Test can be run as an application as well as Applet).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              son Oleg Sukhodolsky (Inactive)
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: