On Sun, 5 Sep 2021 12:00:18 GMT, Alexey Ushakov <a...@openjdk.org> wrote:

> > Is it possible that the problem is in the performance, what happens if you 
> > just add a delay at that place to wait while the metal layer will be 
> > updated from the previous calls to updateOpaque?
> 
> I'll check it.

I did some more investigation and the answer is no, it's not a performance 
issue. The problem is that we never set the opacity to the platform window on 
IDEA tooltip appearance because of caching code in LWWindowPeer.setOpaque() 
that is called from  LWWindowPeer.initializeImpl. So, I think that a direct 
setting in the place that I've suggested is necessary.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5373

Reply via email to