On Tue, 10 May 2022 17:43:51 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> Harshitha Onkar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> formatting changes > > 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 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 > .. Good question. The output from `WindowsFlags` is the same on both machines: WindowsFlags (Java): d3dEnabled: true d3dSet: false oglEnabled: false oglVerbose: false gdiBlitEnabled: true offscreenSharingEnabled: false Setting `-Dsun.java2d.d3d=True` produces Direct3D pipeline enabled on screen 0 in both cases. Disabling Direct3D with `-Dsun.java2d.d3d=false` changes nothing. ------------- PR: https://git.openjdk.java.net/jdk/pull/8441