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

Wrong bounds are set for the full screen decorated frame

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11, 16
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      linux

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: