-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing application icon #28
Comments
This is not the case on my system. But I have a suspicion. @RadekCap Please check the following:
As you can see, we have actual ThinkingRock icons in the sizes 16x16 to 48x48.However, for 256x256 and larger icons, we don't have an icon specified, falling back to the default Netbeans icon: Can you experiment by selecting a different random icon for each of those missing sizes and check if that changes the situation on your system? I suspect that the screen resolution and/or pixel depth of your system falls back to one of the larger icons, which is not defined. In case you can confirm that, we should try to get the icon in the missing sizes from Claire and Jeremy (or alternatively as a vector graphic, so we can convert it to the pngs we need ourselves. |
I've tried to create a larger icon without any effect on the application icon (on MacOS). I can observe this behavior both on Linux and MacOS. I'm going to experiment with this later. |
Ehm, I tried it again on Linux and a replacement 256x256 icon will solve it. Maybe I haven't used a proper format on macOS, I'll explore it more. |
I created a request for larger icons in ticket #67. |
This solution doesn't work on MacOS. So it'll need another exploration and fix. |
Following this guide should fix the issue. I'll look into it later when there will be more time. |
I think the installer that I provided was built before #68 was merged to main. I will update it and let you know to get the newer one when there... |
@degrown is working on macOS where this bug is still valid, and I need to investigate it more. It's fixed on Linux. The icon is the OpenJDK icon. |
Hi, I hope this can help you to solve the problem. |
Hi @thegamer87 Thanks for your interest in TR, your report and investigation. The link looks relevant - even though on first glance, it looks like there is no out-of the box solution available from Netbeans. We may be able to implement a workaround though. |
I've tried following the instructions in the link under "Mac Icons" and it seems to work, specifically I have
In this way the bundle come out with my .icns instead of default .icns. |
@thegamer87 Yes, I was thinking of something like that. Would you like to create a PR with your already established solution? |
I've opened a PR #127 with more simple but out-of-the-box working solution (that not require any override in build manifest): digging into the build.mac target of suite.xml I've found that MacOS application icon is already read from the "app.icon.icns" property so I've simpy added this to nbproject/project.properties pointing to .icns file that i've added in branding/MacOS folder |
See also tibirna/qgit#142 for an issue (and a solution) regarding missing icons on Mac. |
When you run an application compiled from the source it has a Netbeans icon instead of a TR icon during switching applications.
The text was updated successfully, but these errors were encountered: