RFR: 8276849: Refresh the window icon on graphics configuration changes

Emmanuel Bourg duke at openjdk.java.net
Wed Feb 16 14:11:52 UTC 2022


On Mon, 7 Feb 2022 03:38:47 GMT, Phil Race <prr at openjdk.org> wrote:

>> 1. Run the test code on a screen with DPI scaling set to 100%, the frame icon displayed should be "16"
>> 
>> ![image](https://user-images.githubusercontent.com/54304/148357766-541ebc0d-343a-4135-a2a6-d4a57e60f446.png)
>> 
>> 2. Change the DPI scaling of the screen (or move the frame to a secondary screen with a different scaling), the frame icon should change ("20" at 125%, "24" at 150%)
>> 
>> ![image](https://user-images.githubusercontent.com/54304/148357980-457068b0-cdd0-43e7-b4dc-6d7c10c78b68.png)
>
> @ebourg can you add one ?

@prrace I've added a test, I'm not familiar with the JDK test framework I hope it's correct.

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

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



More information about the client-libs-dev mailing list