-
Bug
-
Resolution: Fixed
-
P2
-
11, 14, 15
-
b22
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8317348 | 11-pool-oracle | Renjith Kannath Pariyangad | P2 | Closed | Won't Fix |
Specification for java.awt.Window::setShape(Shape) states:
"Only the parts that belong to the given Shape remain visible and clickable"
however this assertion is not followed for example by macOS JDK implementation - as extra decorations edging the shape remain visible - so you cannot strictly limit the visible area with the given Shape as the spec guarantees - some halo is painted and is visible outside of the given shape.
Please see the attached screenshot illustrating the problem - where a black "+"-shaped window is painted over another white window and given "+" shape has visible edging artifacts.
"Only the parts that belong to the given Shape remain visible and clickable"
however this assertion is not followed for example by macOS JDK implementation - as extra decorations edging the shape remain visible - so you cannot strictly limit the visible area with the given Shape as the spec guarantees - some halo is painted and is visible outside of the given shape.
Please see the attached screenshot illustrating the problem - where a black "+"-shaped window is painted over another white window and given "+" shape has visible edging artifacts.
- backported by
-
JDK-8317348 j.awt.Window::setShape(Shape) paints visible artifacts outside of the given shape
- Closed
- csr for
-
JDK-8244156 j.awt.Window::setShape(Shape) paints visible artifacts outside of the given shape
- Closed
- links to