-
Notifications
You must be signed in to change notification settings - Fork 51
Icons do not show up in Mac OS X using new homebrew build #339
Comments
Wow! It seems that the standard icon theme is missing. Is "adwaita-icon-theme" installed? |
The tray icon is broken. There is a issue in my .svg file. Someone needs to fix it. I don't know how. The icon should be fine on a dark menubar. This is not a macOS issue. I'm not sure, but I belive to have a proper app icon, we need to create a real application bundle. |
I made a simple application bundle which embeds an icon in the Mac style. The app bundle launches gradio from a shell script, but there still is no icon in the dock or application switcher. I found out that if I copy the gradio binary into the app bundle (instead of launching with a shell script) and put de.haeckerfelix.gradio.png next to it then finally the icon shows up. The icons were installed as expected in It would be preferrable to launch gradio via a shell script as opposed to copying the binary then the app bundle wouldn't need to be rebuilt for every version change. I also tried using a symbolic link to the gradio executable and this does work, but when copying the application bundle to the canonical location "/Applications" OSX actually dereferenced the symbolic link, putting the binary instead. So perhaps this is something to take up with one of the Gtk homebrew formula or maybe it is even a bug with Gtk. Here is my simple app bundle, currently with a symbolic link as long as homebrew was installed to /usr/local this should work. |
I also found this for building proper app bundles though this is much better for distribution say via the Apple App Store and it is not suitable for homebrew; however, I think the build can be performed with homebrew while using that tool to make the app bundle. |
Well, i think for the normal user it's easier to have a application bundle with all dependencies in it (like other macOS applications). Do know a suitable way, to make a app bundle from a homebrew pacakge? Also, the symbolic link in the app bundle it's rather a workaround, than a real solution. And it's known, that GTK is a bit buggy on macOS. |
I agree an application bundle with all dependencies would be best. As I said in my latest comment GNOME does provides a tool for making an application bundle after building and I think it is okay to build it with homebrew. Although I haven't yet tried the tool. Here is the link again: |
Me neither, unfortunately I haven't access to a macOS system right now - so i cannot test it. |
I made a formula to build Gradio using Homebrew and the menu icons do not show up on the main window. I am not sure if this is related to the build or the code, but perhaps you could provide a clue as to where the problem is?
Expected Behavior
Icons should show up (Menu, Search, Check, Minimize, Maximize, Close, Stop, and Connection Information)
Current Behavior
A generic symbol is shown instead.
Steps to Reproduce
brew install --HEAD gradio
orbrew install gradio
Detailed Description
Screenshot:
Also the tray icon does not show properly and it doesn't work, but I suspect that to be an OSX issue.
The text was updated successfully, but these errors were encountered: