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

FullscreenWindowProps.java fails on Windows with High DPI

XMLWordPrintable

      The java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java fails on Windows on High DPI displays.

      This failure occurs after JDK-8282863 was backported.

      ----------System.err:(16/909)----------
      Expected: 1024
      Actual: 683
      java.lang.RuntimeException: width is wrong
              at FullscreenWindowProps.checkSize(FullscreenWindowProps.java:100)
              at FullscreenWindowProps.main(FullscreenWindowProps.java:86)

      Presumably the screen resolution is 1920×1080 with the scale of 150% which results in effective resolution of 1280×720.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: