Jump to content

System Preferences - icons - mystery? (10.15.1) [Fixed by Apple in Big Sur]


Recommended Posts

Posted (edited)
  • Catalina 10.15.1
  • Alfred 4.0.6 b1124

 

Something weird is going on with Icons for a few of the built-in System Preference prefPanes. For example, "Bluetooth" or "Internet Accounts". When I search Spotlight for these, the proper icon is displayed. But, in Alfred, only a generic icon is shown:

image.png.154c99d7491240e6384adf39780b2cd7.pngvsimage.png.eb84e3153fe8c21a73e83b31f1faca80.png

and

image.png.99202698b2ef308ff81da7e064377661.pngvsimage.png.fa7116d08e64a718446f11e31f87f40c.png

I notice even in Finder, the generic icons are shown:

image.png.659bf74f0bf1a3de7402073bbcdbcd2d.png

 

Only Spotlight and the System Preferences.app itself seem capable of showing the right icon. I opened the Contents folder of the prefPane bundle to investigate. It seems like Info.plist contained within specifies icons via keys such as "NSPrefPaneIconFile" and "CFBundleIconFile" but even in that case, the file referenced doesn't seem to exist on the filesystem anywhere that I can find.

 

E.g. for Bluetooth, NSPrefPaneIconFile = "BluetoothAqua.png" —but that file doesn't exist. Similarly, Internet Accounts specifies "InternetAccountsIcons.icns" and "InternetAccountsIcon40.png" as icons, but these are nowhere to be found:

image.png.208f9363d993c65377fc4ac6ca582305.png

 

What's going on here? I know this isn't really a bug in Alfred but it started with 10.15 and I wonder if anyone knows about these generic icons or where the resources are coming from...

 

Edited by luckman212
Posted
15 hours ago, luckman212 said:

I know this isn't really a bug in Alfred

 

And for that reason you should ask somewhere else with more eyeballs, like Ask Different.

 

15 hours ago, luckman212 said:

but it started with 10.15

 

Like dozens of other bugs and complaints. Catalina is buggy. It was a hasty release and is frankly an embarrassment. There’s a good chance someone has bumped into that issue before you, and you have a better chance of finding them in a bigger generic community. Alfred’s community is great but specialised, and your problem falls outside the scope.

Posted (edited)

I think I've found out what's going on here. Seems Apple's added yet another layer of obfuscation here with a compressed Assets.car file, which can only be read by specialized tools. Here are a few links I found about this:

Reverse engineering the .car file format (compiled Asset Catalogs)
steventroughtonsmith/cartool: Export images from OS X / iOS .car CoreUI archives
iphone - Analysing Assets.car file in iOS - Stack Overflow
insidegui/AssetCatalogTinkerer: An app that lets you open .car files and browse/extract their images.

 

I was able to use this beta version of Asset Catalog Tinkerer to extract PNG icons from inside those archives. So now I've got a workflow (I'm dubbing it "Preferences Plus"—will post it shortly) that shows all Prefs, with their proper icons, and uses JSON Script Filter to match on the keyword metadata as well (similar to searching in the System Preferences search box...)

image.thumb.png.9178ff3edb9d2f8e62d6c708c1e150d3.png

Edited by luckman212
  • 3 months later...
Posted (edited)
1 hour ago, luckman212 said:

@alfredpleb Sorry for the delay on that. I haven't released PrefsPlus (yet) ... although I am continuing to use it and it's working well (for me). I'd like to share it. Would you mind testing it out to see if it works for you before I release it widely? I could send you a link via PM.


Hi again, and no problem on any delay. I'd love to test it out! Feel free to shoot me a link. Thanks!

Edited by alfredpleb
  • 2 weeks later...
Posted
On 3/20/2020 at 11:16 PM, luckman212 said:

@alfredpleb Sorry for the delay on that. I haven't released PrefsPlus (yet) ... although I am continuing to use it and it's working well (for me). I'd like to share it. Would you mind testing it out to see if it works for you before I release it widely? I could send you a link via PM.

I would love a link if you would be so kind @luckman212 🙂 !

  • 4 weeks later...
Posted
On 3/20/2020 at 11:16 PM, luckman212 said:

@alfredpleb Sorry for the delay on that. I haven't released PrefsPlus (yet) ... although I am continuing to use it and it's working well (for me). I'd like to share it. Would you mind testing it out to see if it works for you before I release it widely? I could send you a link via PM.

 

@luckman212 Don't know if you're still looking for testers but I'm definitely interested in restoring the individual .prefpane icons in 10.15!

  • 1 month later...
Posted
On 4/29/2020 at 4:43 PM, luckman212 said:

@Macchio - @alfredpleb - @blizzrdof77 -- I found a bug that prevents certain keywords from appearing in the search results. Need to beef up the JSON parsing a bit but I should have it working in a day or 2. I'll definitely post an update soon!

Hey! Any progress? My heart wants this so bad. :)

  • 3 weeks later...
  • 1 month later...
  • 2 months later...
  • Andrew changed the title to System Preferences - icons - mystery? (10.15.1) [Fixed by Apple in Big Sur]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...