RFR: 8276849: Refresh the window icon on graphics configuration changes [v4]
Alexey Ivanov
aivanov at openjdk.java.net
Tue Jun 7 15:44:13 UTC 2022
On Wed, 23 Feb 2022 21:34:29 GMT, Emmanuel Bourg <duke at openjdk.java.net> wrote:
>> Emmanuel Bourg has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Test case for the window icon update on DPI change (Java generic font names are usually capitalized)
>> - Test case for the window icon update on DPI change (dispose the frame after a timeout on the EDT)
>
> Just tested on macOS 12 with a non Retina screen and OpenJDK 8: the icon displayed in the dock when the test frame is minimized is the 32x32 one. If I add more icons to the list, it picks the biggest one, up to 128x128. Bigger icons are ignored.
>
> The issue observed on Windows doesn't really transpose to macOS, I think I'll revert the change to `LWWindowPeer`.
This is a good change, especially for Windows. It's a pity @ebourg hasn't integrated it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6180
More information about the client-libs-dev
mailing list