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

JDialog appears always on top of other applications

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_121"
      Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      macOS Sierra 10.12.3

      A DESCRIPTION OF THE PROBLEM :
      After creating a modal dialog it appears on top of all applications, even after clicking in a second application.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      can be reproduced using the modality sample from http://docs.oracle.com/javase/tutorial/uiswing/misc/modality.html

      1) start the modality demo
      2) Click "OK" in Book 2 (parent frame) Window
      3) Click "OK" in the new created dialog
      4) Click in the previous created dialog not the new one, the "Biography (modeless dialog)
      5) Click another application window, on that is not fullscreen
      6) At this point "Biography (document-modal dialog) appears on top of the other application window

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      modal dialog should not stay on top of other application windows
      ACTUAL -
      modal dialog stay on top of the other application

      see screenshot at https://www.dropbox.com/s/ccsrny3wnqzubcl/Screen%20Shot%202017-02-14%20at%205.37.00%20PM.png?dl=0

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            pardesha Pardeep Sharma
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: