On Tue, 10 May 2022 23:25:04 GMT, Harshitha Onkar <d...@openjdk.java.net> 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.
> > ![Tray Icon 125% -> 
> > 150%](https://user-images.githubusercontent.com/70774172/167689269-2d41884a-a5cd-4cb5-b3b5-21b02f0f46b5.png)
> >  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.

@aivanov-jdk were both windows 10 and windows 11 using the same pipeline ? 
(meaning GDI or D3D).
Otherwise on our side I'd expect all the same code path ..

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

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

Reply via email to