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

java/awt/print/PrinterJob/PrinterDialogsModalityTest.java fails as the frame not active after the dialog is closed

XMLWordPrintable

    • generic
    • os_x

      Manual test java/awt/print/PrinterJob/PrinterDialogsModalityTest.java fails as the frame does not become active after the dialog is closed.

      Steps to reproduce:
            1. Run test case: java/awt/print/PrinterJob/PrinterDialogsModalityTest.java
            2. Active the "Test Frame" by clicking on title.
            3. Press "Page Dialog" button to popup the page dialog.
            4. Closed the dialog (either cancel or press ok)
            5. Make sure the frame is still active.
           
      Expected behavior:
      The frame is still active after the dialog is closed.

      Actual behavior:
      The frame does not become active after the dialog is closed.

      This issue is not reproducible on the latest builds of JDK 24, 24.0.1, 24.0.2 and 25, but it was reproducible on the early builds of 24(eg: 24-ea+1). I will find out and update the exact build with which this issue got fixed in mainline. Also, this is reproducible only on macos.

            rkannathpari Renjith Kannath Pariyangad
            mvs Manukumar V S
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: