Open kbarros opened 6 months ago
Looks like GLFW doesn't have that functionality yet: https://github.com/glfw/glfw/pull/2293
One weird thing about glfw on Mac is that this black thingy will stay open as long as the process that initialized glfw is still running. You can never close it, it doesn't close with the last window. I'm not sure what it actually represents but it's not the "window" per se so I guess that's why it doesn't show the window icon that Windows and Linux do.
Maybe it appears on glfwInit() and disappears on glfwTerminate() which happen automatically in GLFW.jl? https://github.com/JuliaGL/GLFW.jl/blob/d9037c290ad4c4182755bd2c55c38b09b894e051/src/GLFW.jl#L16-L37
I guess we can also close this since it's not something we can fix?
It’s not a window icon, it’s Cocoa’s default fallback for the application icon. MacOS is application-based, not window-based.
It's fixed by specifying an icon and application name in the app's plist file inside the bundle, or you can specify the icon at runtime if the linked GLFW pull request is merged, however, it won't let you change the name.
I guess we'll need to wait for the PR then ;)
In MacOS, the Makie plots are depicted as simple black box with the small green text "exec". Mouse-over shows that the application name is "julia". This is shown below:
My understanding is that Windows and Linux would show a pretty Makie icon instead.