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

Wrong bounds are set for the full screen decorated frame

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11, 16
    • client-libs
    • None
    • 2d
    • generic
    • linux

      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. This bug is about Linux.
      Modify the test: open/test/jdk/java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java

      Remove frame.setUndecorated() and tweak the size variation in the checkSize().
      The problem is that the bounds of the frame include insets additionally to the screen size.

      see JDK-8256201

            Unassigned Unassigned
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: