multipass icon indicating copy to clipboard operation
multipass copied to clipboard

Multipass app in dock on macOS missing icon

Open ricab opened this issue 1 year ago • 2 comments

Describe the bug At least in macOS Sonoma, when the Multipass app (systray gui) is launched from the launchpad, a placeholder icon is attached to it on the dock"

image

To Reproduce How, and what happened?

  1. quit the multipass systray if it auto-started
  2. open Multipass from the Launchpad

Expected behavior No icon in the dock for the systray app. Otherwise, a proper icon.

Logs Please provide logs from the daemon, see accessing logs on where to find them on your platform.

Additional info

  • OS: macOS 14
  • multipass version 1.12.2

Additional context Originally reported here.

ricab avatar Oct 11 '23 20:10 ricab

Might be related to https://github.com/canonical/multipass/issues/2388

ricab avatar Oct 11 '23 21:10 ricab

I was able to resolve locally by copying the Multipass logo image to my clipboard, opening Get Info on the file missing the image, clicking the broken icon (so it gets a blue highlight around it), then pasting in the image from my clipboard. It's a little-known MacOS feature that you can replace the icon for anything this way. Doesn't persist across updates, but works as a local preference.

I also found it odd that the application sticks in both the dock and the toolbar when open, so I edited the Info.plist inside the package contents and added

<key>LSUIElement</key>
</true>

before

</dict>
</plist>

This hides the application from the dock but keeps it in the toolbar. Less clutter!

azigler avatar Jan 17 '24 01:01 azigler