Makie.jl icon indicating copy to clipboard operation
Makie.jl copied to clipboard

In the MacOS Dock (application tray), the Makie Icon is missing

Open kbarros opened this issue 1 year ago • 4 comments

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:

image

My understanding is that Windows and Linux would show a pretty Makie icon instead.

kbarros avatar Apr 04 '24 15:04 kbarros

Looks like GLFW doesn't have that functionality yet: https://github.com/glfw/glfw/pull/2293

asinghvi17 avatar Apr 04 '24 15:04 asinghvi17

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.

jkrumbiegel avatar Apr 04 '24 15:04 jkrumbiegel

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

ffreyer avatar Aug 27 '24 20:08 ffreyer

I guess we can also close this since it's not something we can fix?

ffreyer avatar Aug 27 '24 20:08 ffreyer

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.

ws909 avatar Aug 31 '24 20:08 ws909

I guess we'll need to wait for the PR then ;)

SimonDanisch avatar Aug 31 '24 21:08 SimonDanisch