RFR: JDK-8255439: System Tray icons get corrupted when windows scaling changes [v3]

Harshitha Onkar duke at openjdk.java.net
Tue May 17 18:58:59 UTC 2022


On Wed, 11 May 2022 18:57:00 GMT, Phil Race <prr at openjdk.org> wrote:

>>> @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.
>
>>>Disabling Direct3D with -Dsun.java2d.d3d=false changes nothing.
> 
> That rules out a pipeline issue so I've no idea.
> Fortunately Windows 11 still has lower adoption than Windows XP usage :-) That's a real stat btw.

@prrace This PR might require a re-review and re-approval on the latest commit.

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

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



More information about the client-libs-dev mailing list