MAC OS X: App icon doesn’t display on OS X 10.5.8.
|Reported by:||macca8||Owned by:||criezy|
|Priority:||normal||Component:||Port: Mac OS X|
The current build of the scummvm.icns file isn’t compatible with OS X 10.5.8, producing an app label accompanied by an invisible icon.
Platform: Intel Mac & PPC Mac (OS X 10.5.8)
This file was updated with the new icon as part of the implementation of the remastered modern theme in April 2019.
In updating the icon, the structure of the file was changed from the old Apple icon image format (consisting solely of 72ppi images) to the newer icon image format (consisting of a mix of 72ppi & 144ppi images) introduced in OS X 10.8 to complement the release of retina displays.
For systems not capable of supporting retina displays (OS X 10.7 and earlier), all 144ppi images are automatically hidden from view, leaving only 72ppi images available for use.
The scummvm.icns file retains only the 256 & 512 pixel images (for some reason, the 128x128 72ppi image (the default) is also hidden) for use with OS X 10.7 or earlier.
These images display correctly on OS X 10.6 & 10.7 (dual boot 32bit/64bit systems), but appear as blank images (0 pixel size) on OS X 10.5.8 (a 32bit-only system).
This behaviour is consistent with other apps that have icon files containing 144ppi images less than 1024x1024 pixels in size.
Ironically, even though the icon is invisible, because the app label is visible, it’s still possible to interact with the icon normally, but this is a poor compromise.
Since the issue is restricted to 32bit systems, the obvious solution is to create a second scummvm.icns file for use in 32bit builds, in the previous format of 72ppi images only… the old logo proved that this format works up to macOS 10.14.
The newer format is really for the benefit of those with retina displays or better, and those users now have the option of 64bit daily & release builds.
As a proof of concept, I’ve attached a new scummvm.icns file for the updated icon in the previous format for testing.