QuickLook and public.image UTI on 10.9

Originator:Nyx0uf
Number:rdar://15328371 Date Originated:27/10/2013
Status:Open Resolved:No
Product:OS X SDK Product Version:10.9
Classification:Bug Reproducible:Always
 
Summary:
Since 10.9 previewing a file with a public.image UTI (jpeg, png, etc...) does not work.
However thumbnailing works.

On 10.7 and 10.8 all works fine.

Steps to Reproduce:
- Create a new QuickLook Xcode project (4.5/4.6/5.x)
- Configure the document type UTI to public.image
- Implement code to preview image
- Test on a 10.9 Mac.

Expected Results:
- Custom image preview, for example modified window title, or whatever stuff we do on the image (filters etc...)

Actual Results:
The custom preview function is never called, and the QuickLook window preview the image like before.
Checking on Console.app we can see the GeneratePreviewForURL() function is never called.

However the GenerateThumbnailForURL() function works fine.

Version:
Xcode 4.5 / 4.6 / 5.x

Notes:
I use this for the following plugin, it allows to display image dimension in the titlebar :

https://github.com/Nyx0uf/qlImageSize

Configuration:
10.9.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!