<Swing Dev> <AWT Dev> [10] Review request for 8182043: Access to Windows Large Icons

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Sep 29 19:29:54 UTC 2017


On 9/29/17 07:34, Alexey Ivanov wrote:
>> Ok, so it means that we will support 1-128 pixels 
>> natively(MAX_ICON_SIZE) and others via MRI.
> 
> Why 128 pixels? Windows shell usually provides icons up to 256 pixels, 
> for example there are 256×256 icons for folders and generic file type.

It is limitation of our implementation:
https://bugs.openjdk.java.net/browse/JDK-8151385
http://mail.openjdk.java.net/pipermail/awt-dev/2016-March/010777.html

> 
> Since |IExtractIcon::Extract| gives you the requested size, performing 
> scaling if required, then MRI will never be crea

As far as I understand the bug above, it is possible that OS returns 
some other size.


-- 
Best regards, Sergey.



More information about the swing-dev mailing list