<i18n dev> RFR: JDK-8303950: [macos]Translucent Windows Flicker on Repaint

Sergey Bylokhov serb at openjdk.org
Tue Mar 14 01:02:34 UTC 2023


On Tue, 14 Mar 2023 00:07:33 GMT, Jeremy <duke at openjdk.org> wrote:

> If you still want me to try to migrate this logic: can you give me an example of which classes you'd recommend trying to move it to?

That logic exists there to clear the window if it does not opaque and have some translucent pixels, and it was added there to clear the old content of the window before the new rendering is started. So we cannot just skip that part, but probably we can move this step closer to the place we actually start to render.

I would like to clarify two question:
 - I think most of the opaque/non-transparent components fill the background by the opaque color(including windows/frames/etc), why the problem is not reproduced in that case?
 - Why the double-buffer in the RepaintManager does not handle this? If no buffers are used, then probably we should have one to render everything to it and then blit to Window?

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

PR: https://git.openjdk.org/jdk/pull/12993


More information about the i18n-dev mailing list