Release DMG Finder window has no background image #95
Closed
opened 2026-09-10 19:58:11 +01:00 by gronod
·
0 comments
No Branch/Tag Specified
main
docs/27-roadmap-candidates
develop
milestone/m13-print-ticket
feat/218-paper-source
feat/217-panel-ticket-restore
bugfix/211-print-output-flip
milestone/m12-native-spool
feat/202-airprint-detection
feat/201-native-print-operation
feat/201-raster-canvas
feat/201-ticket-capture
feat/201-pm-ticket-bridge
chore/m11-sync-develop
milestone/m11-print-settings
chore/m11-docs-hygiene
feat/186-panel-binding
feat/181-canon-media-locale
feat/180-epson-qual-options
feat/183-stage2-print-settings
chore/m11-tracking
docs/ui-interactive-map
v2.0.4-prerelease-docs27
v2.0.4
v2.0.3
v2.0.3-prerelease
v2.0.2
v2.0.1
v2.0.0
Labels
Clear labels
Bug/Architecture
Bug/Backend
Bug/DevOps
Bug/UI
Compat/Breaking
Feature/Architecture
Feature/Backend
Feature/DevOps
Feature/UI
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Project/ICCery-v2
Core / wizard / process infra defect
Argyll orchestration, file/data defect
Build, packaging, CI defect
Views, controls, dialogs defect
Breaking change that won't be backward compatible
Core / wizard / process infra
Argyll orchestration, file/data engines
Build, packaging, CI
Views, controls, dialogs
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
ICCery v2 Mac rewrite
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gronod/iccery-v2-mac#95
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
The release DMG builds and contains
ICCery.app+ an Applications symlink, but Finder shows the default grey icon-view window instead of the ice-cream / wordmark background. The PNG assets are in git anddmgbuild-settings.pypoints at them. This is cosmetic only — install still works.Observed on the
v2.0.0-pre2-grokpackage job (Actions run 29714) which producedICCery-2.0.0-1.dmgwith dmgbuild 1.6.5.Spec / history
dmg-background.png+@2x+.svg(v1 path wasicons/; v2 files live underResources/).dmgbuild, not Finder AppleScript.6976cedon v1).This is a regression of the #189 symptom on v2, not a missing file.
What is already set up (so this is not “asset not added”)
Resources/dmg-background.pngResources/dmg-background@2x.pngbrand/dmg-background.svgscripts/dmgbuild-settings.py:scripts/package-release.shnever exportsDMG_BACKGROUND. CWD atdmgbuildtime is the repo root, soResources/dmg-background.pngdoes exist andbackgroundis not cleared toNone. Run 29714 logged no missing-file fallback; it only printedDMG: …/ICCery-2.0.0-1.dmg.Parallel TIFF path that does not feed the DMG
The Release xcodebuild on the same job already ran:
Log line: “2 images written to …/dmg-background.tiff”.
That HiDPI TIFF is the format Finder historically accepts as a window picture. It is copied into the .app bundle, not into the DMG volume. dmgbuild is still pointed at the 1x RGBA PNG. The
@2xPNG is unused for the installer window.Xcode does this because
project.ymlincludes the wholeResources/tree in the app target (excludesonly entitlements + Argyll). So the TIFF is an app-resource side effect, not a DMG input.Likely causes (independent; any one is enough)
dmgbuild-1.6.5 ds_store-1.3.1 mac_alias-2.2.2. 1.6.5 writes the window background as a legacy Alias (backgroundImageAlias) in.DS_Store. On recent Finder (Sequoia / Tahoe) that alias often does not resolve after the RW image is converted to compressed read-only UDZO, so the window falls back to the default grey background. Same class of bug fixed in dmgbuild 1.6.7 (bookmark-based background; Plover #1804 / PR #1821 on macOS 26.2 Tahoe).tiffutil -cathidpicheckpair).window_rectwidth/height is 660×400 and the 1x PNG is exactly 660×400. Finder icon-view chrome (title bar, padding) clips or shifts an exact-fit picture; it can look like “no background” even when.DS_Storepoints at the file. Usual practice is a slightly larger bitmap than the window.icons/dmg-background.png. Neither prevents the file being passed through.What it is not
background = Nonefrom a bad relative path (path is valid from repo root).Acceptance
ICCery-*.dmgproduced byscripts/package-release.shon a clean Mac (and on the self-hosted runner OS).ICCery.appstays left, Applications alias stays right; no visible.backgroundfile in the window.Proposed fix (do not implement in this ticket’s first pass unless attached to a packaging PR)
Pin dmgbuild ≥ 1.6.7 in
scripts/package-release.sh(pip install 'dmgbuild>=1.6.7').Before
dmgbuild, build a HiDPI TIFF next to the settings file:Export
DMG_BACKGROUNDto that TIFF (or hard-code it indmgbuild-settings.py).Optionally enlarge the bitmap (or shrink
window_rect) so Finder chrome does not clip the art.Stop shipping
dmg-background.png/@2x/.tiffinsideICCery.appunless something in-app actually uses them — today they are only installer chrome.project.ymlResources/exclude would do that.Update docs/23 path (
Resources/, noticons/) and delete the “supplied later” comment.Test
scripts/package-release.shthen mount the DMG; screenshot the window.v*tag; download the release asset; mount on the runner OS and a second Mac.backgroundmissing should be an error, notNone).Out of scope