Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lukas013

macrumors newbie
Original poster
Nov 5, 2017
6
1
Hello,
anyone experiencing problem with blank icons in some places?
For example in Finder everything is ok:
1666983514066.png

But in Dock, in download folder it looks like this:
1666983444648.png
 
I don't have the problem in the Dock, but I am getting some problems of a similar nature elsewhere: generic (or blank) icons in some places.

I've been searching to see how I can force Ventura to re-scan applications to get the appropriate document icons but I haven't been successful. All of the free utility programs I know of are not ready yet with a Ventura version and I believe they typically offer a graphical user interface to some cleanup commands.

Can anyone offer advice on how to force Ventura to re-scan icons?
 
I tried this How to Clear Icon Cache on Mac (osxdaily.com), but with no succes.
BTW I also have blank icons in "last used" menu.
Thanks, I did try that too a few days ago and it wasn't entirely successful. It was successful in one place where I noticed the issue: PDFs attached to mail in my Outlook app turned to generic icons but this was resolved after running the procedures above. But, I still have generic icons in a few other places.

Update: now that I look carefully in my Doc, my download folders when displaying in the Dock as List view shows generic icon for .doc files but not others. When displayed in Grid or Fan view, the icons are not generic. When I open the same folder in the Finder, icons look fine too. Hmmm.!?
 
This sounds similar to the issue I noted in an earlier thread https://forums.macrumors.com/threads/icons-for-aliases-in-dock-folder-incorrect.2367332/

I have not found a solution for PDF icons in the dock - they display as blank icons when in a dock folder, but they display properly in the same folder when opened in finder. I am chalking it up to some sort of quirk in Ventura.
Thanks for pointing to an existing thread about this issue. I'll peruse it.

In the meantime, I'm eagerly awaiting Titanium Software to update their free Onyx to see if there are any built-in commands I could use to delete cache, re-index, and the like. I am pretty sure these all exist in Ventura and could be executed in the command-line interface, but I'm not savvy enough to know exactly what to type.... ugh.... :)
 
So everyone reading this knows the issue is caused by the use of this API:
Objective-C:
[NSWorkspace.sharedWorkspace iconForFile:(NSString *)];

Any file that has a custom icon set but has a default one from Apple will render blank when using that method. This should be reported to Apple and cross fingers they fix this before the next “major” macOS.

More info here:
 
So everyone reading this knows the issue is caused by the use of this API:
Objective-C:
[NSWorkspace.sharedWorkspace iconForFile:(NSString *)];

Any file that has a custom icon set but has a default one from Apple will render blank when using that method. This should be reported to Apple and cross fingers they fix this before the next “major” macOS.

More info here:

I don’t fully understand but appreciate knowing that this is now a big recognized by the community and not something unique to my computer.

I hope Apple fixes this in their next dot release. Someone in the cited form suggests Apple might not fix it until macOS 14. I hope not. Why would Apple delay a fix?
 
I don’t fully understand but appreciate knowing that this is now a big recognized by the community and not something unique to my computer.

I hope Apple fixes this in their next dot release. Someone in the cited form suggests Apple might not fix it until macOS 14. I hope not. Why would Apple delay a fix?

I did suggested that because on macOS 10.15 Catalina they introduced a similar (while not technically) issue with the icons and did not fixed it until macOS 11.0 Big Sur.

On that time it only affected the Finder, this time the Finder is not affected but any application that retrieves the icon from a file using the proper API. The Dock, Chrome, almost any app uses that one API.

 
Last edited:
  • Like
Reactions: phloo and msackey
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.