RFR: 8273355: Lanai: Flickering on tooltip appearance IntelliJ IDEA 2021.2.1

Alexey Ushakov avu at openjdk.java.net
Thu Sep 9 00:16:01 UTC 2021


On Sun, 5 Sep 2021 12:00:18 GMT, Alexey Ushakov <avu at 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



More information about the client-libs-dev mailing list