<AWT Dev> RFR: 8272481: [macos] javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java fails
Sergey Bylokhov
serb at openjdk.java.net
Thu Aug 19 12:26:41 UTC 2021
On Wed, 18 Aug 2021 21:07:28 GMT, Alexey Ushakov <avu at openjdk.org> wrote:
> Update opacity only if the component is visible
src/java.desktop/macosx/classes/sun/lwawt/LWWindowPeer.java line 524:
> 522: if (textured != isTextured) {
> 523: textured = isTextured;
> 524: if (isVisible()) updateOpaque();
What is the root cause of the problem? Why we do not change the surface if the peer is invisible? If the texture property will be changed while the peer is invisible who and when will call the "updateOpaque"?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5172
More information about the awt-dev
mailing list