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

Dialog is not triggering windowGainedFocus event when Deiconfied, when parent frame is nonfocusable

    XMLWordPrintable

    Details

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

      Description

      This is Defect is a regression introduce somewhere between b78 and b82.

      Following are the steps to reproduce the defect
      1. create a frame with setFocusableWindowState as false.
      2. create a Dialog with a button.
      3. add addWindowFocusListener to Dialog.
      4. Iconify the frame then Dialog triggers "Focus lost" event.
      5. Deiconify the frame.

      Expected Result:
      Dialog should trigger "Focus Gained" event.
      Actual Result:
      Dialog is Not triggering "Focus Gained" event.

      This defect can be reproduced by running the attached test on windows xp.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ant Anton Tarasov
              Reporter:
              ggirishsunw Girish Girish (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: