On Wed, 18 Aug 2021 21:07:28 GMT, Alexey Ushakov <a...@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

Reply via email to