<AWT Dev> RFR: 8273355: Lanai: Flickering on tooltip appearance IntelliJ IDEA 2021.2.1
Alexey Ushakov
avu at openjdk.java.net
Sun Sep 5 11:57:55 UTC 2021
On Sat, 4 Sep 2021 21:35:32 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> Calling "platformWindow.setOpaque(!isTranslucent());" is equvivalent of calling these three methods:
>
> ```
> setOpaque(getTarget().isOpaque());
> applyShape(Region.getInstance(shape, null));
> peer.setTextured(IS(TEXTURED, styleBits));
> ```
>
> All of them are executed before "platformWindow.setVisible(visible);" why do we need one more call to trigger updateOpaque?
The flickering is only noticed with some components and adding setOpaque (that sets correct background color inside) definitely helps. I'll check more carefully all the paths.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5373
More information about the awt-dev
mailing list