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

[macosx] getLocationOnScreen returns 0 if parent invisible

XMLWordPrintable

    • b112
    • 8
    • b115
    • os_x
    • Verified

        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.

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

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

                Created:
                Updated:
                Resolved: