Today I noticed the QuickLook feature stopped displaying .jpg, .png, and .pdf file previews. Desktop icons for these types don't show thumbnails. Pressing SPACE with the file selected in Finder just shows the iconic type of file it is.
And I've tried the CNET recommended fixes:
qlmanage -r cache
- checking in
/Macintosh HD/Library/QuickLook/, and
- removing the files called
Other QuickLook file types work well.
At first, it looked like the control was taken over by Lytro:
2016-02-29 17:53:52.461 qlmanage[2351:64583] [qlinfinite] Instantiated plugin in host with identifier (null) 2016-02-29 17:53:52.461 qlmanage[2351:64583] [qlinfinite] Found 61 system generators 2016-02-29 17:53:52.462 qlmanage[2351:64583] [qlinfinite] Registered generator CFBundle/CFPlugIn 0x7f96e9818e00 </Applications/Lytro.app/Contents/Library/QuickLook/LytroLFR.qlgenerator> (bundle, loaded) for type public.jpeg
Reinstalling the new Lytro desktop, things changed.
More disturbing was this... Dropbox seems to be taking control:
$ qlmanage -m plugins | grep -i public.image public.image -> /Applications/Dropbox.app/Contents/Library/QuickLook/DropboxQL.qlgenerator (2)
Creating a new account on my Mac shows things working fine. So it has to be something about my configuration ...except that I have no
~/Library/QuickLook directory, and I also do not have any
~/Library/Preferences/com.apple.[Qq]uicklook* entries either.
At this point, multiple reboots, even with Safe Mode do not resolve the issue.
Is there a way to reset the QuickLook associations back to default?
Also, could someone post their
qlmanage -m plugins output from a working system?
More weird, previewing via the command line using
qlmanage -p anyimagefile.jpg from the Terminal works just fine!
That said, it does emit this cryptic error:
2016-02-29 19:10:41.835 qlmanage[3873:130464] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8f03, name = 'com.apple.coredrag' See /usr/include/servers/bootstrap_defs.h for the error codes. 2016-02-29 19:10:42.028 qlmanage[3873:130464] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xbb37, name = 'com.apple.tsm.portname' See /usr/include/servers/bootstrap_defs.h for the error codes. 2016-02-29 19:10:42.029 qlmanage[3873:130464] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xbc1b, name = 'com.apple.CFPasteboardClient' See /usr/include/servers/bootstrap_defs.h for the error codes. 2016-02-29 19:10:42.029 qlmanage[3873:130464] void __CFPasteboardSetup() : Failed to allocate communication port for com.apple.CFPasteboardClient; this is likely due to sandbox restrictions
I found a similar question that had a number of debugging techniques in it.
Performing my same command line preview with a high debug setting
qlmanage -d 4 -p anyimagefile.jpg | grep public.image resulted in seeing extensions registered.
[DEBUG] Registering <QLGenerator Image.qlgenerator> for public.image [DEBUG] Registering <QLGenerator /Applications/Dropbox.app/Contents/Library/QuickLook/DropboxQL.qlgenerator> for public.image
So, I blatantly renamed the
DropboxQL.qlgenerator, which curiously had a very recent modification time on it, and suddenly the preview-using-space problem went away.
Finder still does not display icon previews for these types.
Now it does.