<AWT Dev> RFR: 8182043 Access to Windows Large Icons

Tres Finocchiaro tres.finocchiaro at gmail.com
Mon Aug 31 16:45:43 UTC 2020

> > For once i haven't seen any resource that contains a 100x100 icon

For what it's worth, my experience with icon sizes is that hidpi combined
with custom scaling makes icon nearly impossible to predict.

Here's a real-world example of this problem:

Although this issue doesn't specifically pertain to multi-resource icons
(the comment is about the System Tray which doesn't support this feature
yet) the use-case is nearly identical.  Handling 100%, 125%, 200%, 300%
zoom as screen pixels become more dense, any non-standard icon size becomes
the standard, not the exception.

So to apply this use-case to -- for example -- a multi-resource dialog icon
-- a similar issue can and will occur where arbitrary icon sizes are
demanded that may not exist at their expected/exact size.  Some type of
sane fallback is -- and will continue to be for the foreseeable future --
required for them to be drawn in highest quality.

I hope this message is in-context and useful to the discussion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20200831/d123d020/attachment.htm>

More information about the awt-dev mailing list