Blank icon on PDF files

Questions, glitches, bugs and crashes
Post Reply
Maxobus
Posts: 7
Joined: Wed Oct 26, 2022 9:47 am

Blank icon on PDF files

Post by Maxobus » Thu Oct 27, 2022 3:22 pm

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.
NC.png
NC.png (27.07 KiB) Viewed 190 times
Finder.png
Finder.png (81.68 KiB) Viewed 190 times

moonrak
Posts: 38
Joined: Thu Sep 29, 2016 12:42 pm
Location: Rio Grande, Argentina

Re: Blank icon on PDF files

Post by moonrak » Sun Oct 30, 2022 12:06 am

I also have the same issue with pdf files, blank icon.
Carlos

Maxobus
Posts: 7
Joined: Wed Oct 26, 2022 9:47 am

Re: Blank icon on PDF files

Post by Maxobus » Mon Oct 31, 2022 9:27 am

moonrak wrote:
Sun Oct 30, 2022 12:06 am
I also have the same issue with pdf files, blank icon.
Do you have it also on MacOS Ventura?

User avatar
mike
Posts: 985
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Blank icon on PDF files

Post by mike » Tue Nov 01, 2022 9:23 pm

Looks like a compatibility issue with Ventura. I'll update my Mac and check what's going on under the hood.

jhbarker
Posts: 1
Joined: Wed Nov 02, 2022 4:10 am

Re: Blank icon on PDF files

Post by jhbarker » Wed Nov 02, 2022 4:11 am

I have the same problem.

moonrak
Posts: 38
Joined: Thu Sep 29, 2016 12:42 pm
Location: Rio Grande, Argentina

Re: Blank icon on PDF files

Post by moonrak » Fri Nov 04, 2022 1:00 am

Maxobus wrote:
Mon Oct 31, 2022 9:27 am
moonrak wrote:
Sun Oct 30, 2022 12:06 am
I also have the same issue with pdf files, blank icon.
Do you have it also on MacOS Ventura?
Yep, Ventura it is.
Carlos

User avatar
mike
Posts: 985
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Blank icon on PDF files

Post by mike » Sun Nov 20, 2022 10:46 pm

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:

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",
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.

Maxobus
Posts: 7
Joined: Wed Oct 26, 2022 9:47 am

Re: Blank icon on PDF files

Post by Maxobus » Mon Nov 21, 2022 10:03 am

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?

Post Reply