Blank icon on PDF files [CLOSED]
Blank icon on PDF files [CLOSED]
After upgrading to MacOS Ventura all PDF files have blank (white) icon. But in Finder icon is displaying normally.
Maybe some other file types have the same issue, but I noticed on PDFs.
How to fix it?
Thanks.
Maybe some other file types have the same issue, but I noticed on PDFs.
How to fix it?
Thanks.
Re: Blank icon on PDF files
I also have the same issue with pdf files, blank icon.
Carlos
Carlos
Re: Blank icon on PDF files
Looks like a compatibility issue with Ventura. I'll update my Mac and check what's going on under the hood.
Re: Blank icon on PDF files
I have the same problem.
Re: Blank icon on PDF files
Found the root cause for the issue.
This release adjusts the structure of UTIs (https://en.wikipedia.org/wiki/Uniform_Type_Identifier) - which one conforms to what.
NC has a configurable list of UTIs for which it renders file icons, that is:
That list can changed manually in ~/Library/ApplicationSupport/Nimble Commander/Config/Config.json.
Now the UTI of PDF files ("com.adobe.pdf") no longer conforms to these three core UTIs so NC didn't try to produce icons for this file extension.
Fixed now, next build will be behave properly.
In the meantime a "hotfix" would be to add e.g. "public.content" in this config entry.
This release adjusts the structure of UTIs (https://en.wikipedia.org/wiki/Uniform_Type_Identifier) - which one conforms to what.
NC has a configurable list of UTIs for which it renders file icons, that is:
Code: Select all
"filePanel": {
...
"presentation": {
...
/**
* A whitelist of UTIs used to determine whether an QuickLook icon is required for a
* file. Requires restart to take effect.
*/
"quickLookIconsWhitelist": "public.image, public.movie, public.audio",
Now the UTI of PDF files ("com.adobe.pdf") no longer conforms to these three core UTIs so NC didn't try to produce icons for this file extension.
Fixed now, next build will be behave properly.
In the meantime a "hotfix" would be to add e.g. "public.content" in this config entry.
Re: Blank icon on PDF files
Thanks.
Applied a hotfix. And now instead of PDF icon it renders content of pdf file as icon.
Is it possible to fix to show just pdf icon?
Applied a hotfix. And now instead of PDF icon it renders content of pdf file as icon.
Is it possible to fix to show just pdf icon?
Re: Blank icon on PDF files
Hi all,
Well, I can finally report something back.
First of all - I completely mixed up the expected behaviour for these file types. For some reason I thought previously NC rendered an actual contents of PDF files, but in fact it just shown the proper icon. So please disregard what I wrote about UTI types previously.
It took quite some to investigate the issue.
To begin with, on my setup the PDF icon was properly rendered in NC no matter what, what's with macOS 13 running on both Arm64 and AMD64 (different machines).
Then I noticed Adobe Acrobat's icon in some screenshot(s) that demonstrate the issue.
So lo and behold - after installing Acrobat Reader and rebooting one of my Macs that machine stopped displaying proper icons, showing a blank one instead. Removing Acrobat Reader, cleaning its traces and rebooting didn't fix the issue - still get blank icons.
In the end I composed a tiny app with essentially one line of code that gets an icon for UTI "com.adobe.pdf" using the official Apple's API.
On two of my machines it display different results - a one that had Acrobat Reader installed shows a blank icon, while the machine that didn't have it shows a proper icon.
The app is attached and if you could run it on your machine and write back - that would be awesome.
It seems other software is affected by this issue as well, including Safari and Mail:
https://community.adobe.com/t5/acrobat- ... p/13327540
https://www.msofficeforums.com/outlook/ ... hment.html
https://discussions.apple.com/thread/254319653
So, by the current looks of it seems the problem is on the Adobe's side - unfortunately not much I can do here.
Well, I can finally report something back.
First of all - I completely mixed up the expected behaviour for these file types. For some reason I thought previously NC rendered an actual contents of PDF files, but in fact it just shown the proper icon. So please disregard what I wrote about UTI types previously.
It took quite some to investigate the issue.
To begin with, on my setup the PDF icon was properly rendered in NC no matter what, what's with macOS 13 running on both Arm64 and AMD64 (different machines).
Then I noticed Adobe Acrobat's icon in some screenshot(s) that demonstrate the issue.
So lo and behold - after installing Acrobat Reader and rebooting one of my Macs that machine stopped displaying proper icons, showing a blank one instead. Removing Acrobat Reader, cleaning its traces and rebooting didn't fix the issue - still get blank icons.
In the end I composed a tiny app with essentially one line of code that gets an icon for UTI "com.adobe.pdf" using the official Apple's API.
On two of my machines it display different results - a one that had Acrobat Reader installed shows a blank icon, while the machine that didn't have it shows a proper icon.
The app is attached and if you could run it on your machine and write back - that would be awesome.
It seems other software is affected by this issue as well, including Safari and Mail:
https://community.adobe.com/t5/acrobat- ... p/13327540
https://www.msofficeforums.com/outlook/ ... hment.html
https://discussions.apple.com/thread/254319653
So, by the current looks of it seems the problem is on the Adobe's side - unfortunately not much I can do here.
- Attachments
-
- icontest.zip
- (34.34 KiB) Downloaded 424 times
Re: Blank icon on PDF files
I'm getting a blank icon within the app you provided and also in NC for a pdf file.
Mac mini M1 with Ventura.
Carlos
Mac mini M1 with Ventura.
Carlos