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

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

XMLWordPrintable

    • Cause Known
    • x86
    • windows_xp

      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.

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

              Created:
              Updated:
              Imported:
              Indexed: