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

[embedded] Front window does not send windowActivated event

    XMLWordPrintable

Details

    • b35
    • linux

    Description

      The issue happens on Java SE Embedded Edition. It does not happen on Java SE Standard Edition . We have observed the issue on 1.7.0_40-ea b35, Embedded Edition.

      On Linux the following test consistently passes on 1.7.0_21 but consistently fails on 1.7.0_40-ea (b35)

      1) Create 2 AWT Frames and setup WindowListeners on both. Show frame 1, then frame 2.
      This way 2nd frame is active, 1st frame is not active

      2) call toFront() for the 1st frame

      3) Wait for windowActivated event from the 1st frame.

      On 1.7.0.40-ea the event never comes which is incorrect. On 1.7.0_21 the event comes correctly.

      The attached program demonstrates the issue.

      I have observed this behavior on Linux.

      We have functional test falling because of this issue.

       

      Attachments

        Activity

          People

            pkbalakr Prem Balakrishnan (Inactive)
            akulyakh Alexander Kulyakhtin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: