trackslash
VAULT-125 P2 For an agent

Mac app: the icon sits shrunk on a grey tile, as macOS 26 doesn't take its shape

0
All issues

Description

Found by Bradley on the Mac app (2026-10-10). The app's icon isn't the right size or shape for the Mac: macOS shows it shrunk, clipped onto a grey square.

Why

make app-icon --mac (VaultAppIconGenerator, MacAppIconCatalog) renders VaultMacAppIconView into VaultApp/VaultMacApp/Assets.xcassets/AppIcon.appiconset: the iOS artwork in an 824-point rounded square on a 1024-point transparent canvas, with a drop shadow, as Mac icons were drawn before macOS 26.

macOS 26 draws every app icon in its own rounded-square shape, with Liquid Glass edges. An icon whose image isn't that shape (here, the pre-drawn rounded square and its shadow) is shrunk and put on a grey tile instead.

Change

  • Generate the Mac's icon as an Icon Composer document, VaultApp/VaultMacApp/AppIcon.icon, as gps-app does: a white fill, with the door and wheel as a layer on transparency, full bleed, so the system masks, lights and shadows it.
  • Give it the same light, dark and tinted appearances as the iOS icon: the dark appearance has a dark fill and the silver glyph, and the tinted one has the tinted glyph.
  • Remove the Mac's AppIcon.appiconset, which the document replaces. Xcode compiles the document into every size, and the App Store's icon.
  • Keep it flat, as the iOS icon is: no glass on the glyph.
  • Update the README's App Icon section, docs/mac-app.md and the generator's tests.

Done when

The built Mac app's icon fills the system's shape in the Dock and the Finder, with no grey tile, in light and dark, and make app-icon regenerates it.

GitHub

0

No branches or pull requests linked.

Comments

1
Bradley

Fixed in #734. make app-icon writes the Mac's icon as an Icon Composer document, VaultApp/VaultMacApp/AppIcon.icon, as gps-app does: the door and wheel full bleed on transparency in each appearance, on a white fill (near black in the dark appearance), flat like the iOS icon. The Mac's AppIcon.appiconset is gone; Xcode compiles the document into every size, under the same AppIcon name. ictool renders it for macOS in its default, dark, tinted and clear appearances, and the built app's icon from NSWorkspace fills the system's shape, where before the same render showed it shrunk on a grey tile. README and docs/mac-app.md say how it's made.

The Mac UI tests were skipped for this PR (VAULT-126).