<AWT Dev> RFR: 8232744 j.awt.Window::setShape(Shape) paints visible artifacts outside of the given shape
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Apr 6 19:27:28 UTC 2020
On 4/6/20 12:24 pm, Philip Race wrote:
> This is just common sense. I am shocked we need to document it.
I agree, But I could not convince the bug reporter =(
> The shape of the window is the shape we defined, the rest is window manager decoration.
>
> The existing text
> "Only the parts that belong to the given Shape remain visible and clickable"
> seems adequate to me.
>
> I don't suppose the halo effect is clickable ?
>
> If we have to add anything I prefer the following :
>
> Visual effects such as halos, shadows, motion effects and animations may
> be added by the desktop and affect the actual or perceived position, dimensions
> or shape of the window.
> These are usually outside the knowledge and control of the JDK and so for the
> purposes of this specification are not considered part of the AWT-specified window.
>
> -phil.
>
>
> On 3/23/20, 3:38 AM, Sergey Bylokhov wrote:
>> Hello.
>> Please review the fix for jdk/client.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8232744
>> Fix: http://cr.openjdk.java.net/~serb/8232744/webrev.00
>>
>> This mostly the call for discussion, on how to specify that
>> the "appearance" to some extent cannot be controlled by the AWT.
>>
>> The bug in question is about the shadow around the shaped window.
>>
--
Best regards, Sergey.
More information about the awt-dev
mailing list