<AWT Dev> RFR: 8256201: java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java failed

Sergey Bylokhov serb at openjdk.java.net
Thu Nov 12 09:14:02 UTC 2020


The new test added in JDK-8211999 hits a bug on Linux (in mach5 it is passed on ubuntu 18.04 and failed on 20.04). The problem is that the bounds of the fullscreen frame include insets of the frame additionally to the screen size.

The behavior of the decorated full-screen window is not specified:
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/GraphicsDevice.html#setFullScreenWindow(java.awt.Window)

But it will be good to have the same cross-platform behavior. So I filed a separate bug to investigate the behavior of decorated frame in the fullscreen mode:
https://bugs.openjdk.java.net/browse/JDK-8256257

-------------

Commit messages:
 - Update FullscreenWindowProps.java

Changes: https://git.openjdk.java.net/jdk/pull/1180/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1180&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256201
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1180.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1180/head:pull/1180

PR: https://git.openjdk.java.net/jdk/pull/1180


More information about the awt-dev mailing list