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

j.awt.Window::setShape(Shape) paints visible artifacts outside of the given shape

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P2
    • Resolution: Approved
    • Fix Version/s: 15
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Risk:
      minimal
    • Interface Kind:
      Java API
    • Scope:
      SE

      Description

      Summary

      The specification of AWT does not mention any visual effects which could be used by the window manager. Such effects are out of the control of AWT and are not part of the specification.

      Solution

      The spec should be updated.

      Specification

      src/java.desktop/share/classes/java/awt/Window.java
      
        * that more closely matches the desktop settings.
        * <p>
      + * Visual effects such as halos, shadows, motion effects and animations may be
      + * applied to the window by the desktop window management system. These are
      + * outside the knowledge and control of the AWT and so for the purposes of this
      + * specification are not considered part of the top-level window.
      + * <p>
        * Due to the asynchronous nature of native event handling, the results

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serb Sergey Bylokhov
              Reporter:
              dbessono Dmitry Bessonov
              Reviewed By:
              Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: