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

[macosx] getLocationOnScreen returns 0 if parent invisible

    XMLWordPrintable

Details

    • b112
    • 8
    • b115
    • os_x
    • Verified

    Backports

      Description

        In jdk8 b112 there seems to be a regression on OS X.
        Run the attached test. It will show a Window with invisible Frame parent correctly at the center of the screen. Wait for 3 seconds for printout. With b111 and earlier, there will be a correct location point reported.
        However with b112, there will be always 0.

        Works OK on Linux.

        Attachments

          1. RelTo.java
            0.9 kB
          2. Test.java
            1 kB

          Issue Links

            Activity

              People

                pchelko Petr Pchelko (Inactive)
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: