-
Notifications
You must be signed in to change notification settings - Fork 54
Description
I have my own icon, in the project:
\src\windows\assets\icon.ico
According to the logs, I see that it is successfully copied and compiled into a resource object and then used when compiling the executable file. However, if you look at the application in Windows Explorer in different modes, then in some modes, where the icon size is 16 by 16 pixels, it changes to someone else's.
I have a crude solution to this problem.
- Find substrate jar dependency (for example C:\Users\user.m2\repository\com\gluonhq\substrate\0.0.65\substrate-0.0.65.jar).
- Replace native/windows/assets/icon.ico with application icon. Jar == ZIP archive, I used Far Manager, but any archiver will do.
However, I want an out-of-the-box solution. I noticed that the icon in the Substrate archive appeared not so long ago. For example, in 0.0.46 it is not there yet, but in 0.0.63 it is already there.
Expected Behavior
The application icon should be displayed at any size.
Current Behavior
In Windows Explorer in the Small Icons, List, Details modes, the icon changes to a blue Substrate icon. Size 16x16. If the icon size is larger, then my application icon is used. I tried to draw a separate 16x16 icon, both in 8 and 32 bits - it doesn't help.
Steps to Reproduce
The main condition is Windows, display scale 100%. If you set the scale to 125%, all icons are displayed correctly.
Your Environment
GraalVM CE 23-dev+25.1