Jump to content
luckman212

System Preferences - icons - mystery? (10.15.1)

Recommended Posts

  • 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

Share this post


Link to post
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.

Share this post


Link to post

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

Share this post


Link to post

@luckman212 hi there, I just came across this. do you plan on releasing preferences plus/have you already? Not having the icons is a small annoyance, but I notice it every day. Would love the workflow. thanks

Share this post


Link to post

@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.

Share this post


Link to post
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

Share this post


Link to post
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 🙂 !

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...