RFR: 8273355: Lanai: Flickering on tooltip appearance IntelliJ IDEA 2021.2.1 [v2]

Sergey Bylokhov serb at openjdk.java.net
Sat Sep 11 00:49:49 UTC 2021


On Thu, 9 Sep 2021 09:18:59 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

>> Yes, it affects both pipelines, but flickering was noticed only with Metal. I've tried IDEA on both pipelines and I've run desktop tests only with Metal. I'm going to run desktop ones with OGL too.
>
> OGL desktop tests are OK.
> 
>> This looks as if it will affect OpenGL as well as Metal.
>> Do you see the flckering with both pipelines ?
>> What testing have you done with both of them ?

If the user will create a peer then change the background color, then show the window the flickering will occur. you need to override the LWWIndowPeer.setBackground and call the platformWindow.setBackground from there. The LWWIndowPeer.setBackground is also called during peer initialization so the code above will not be needed. 

But it will be good to root cause the problem if it is not related to the performance.

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

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



More information about the client-libs-dev mailing list