On Tue, 10 May 2022 17:43:51 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> Unfortunately, the icon is distorted on Windows 11. When I tested on Windows > 10, it updates correctly most of the time, but rarely the icon becomes > distorted. When the icon is distorted, enabling taskbar auto-hide and > disabling it repaints the icon correctly; this works both on Windows 10 and > 11. > >  > I got the above image on Windows 10 after switching from 125% to 150%. The > icon should display 24 at 150%, one can see the number with some paint > artefacts. > > I don't understand why it happens this way. @aivanov-jdk Thank you for testing it on Win 10 & 11. I'm unable to replicate this issue on windows 10. But as you mentioned earlier, I was able to see similar icon distortion when using the DisplayChangedListener approach. I'll check what might be causing the issue on Win 11 and if it is replicable on Win 10 for any particular scenario. ------------- PR: https://git.openjdk.java.net/jdk/pull/8441