QuickLook with default app for file

  • Hi List,

    I have a question about problems with QuickLook support for files that
    have a default app to open set. My app can open PDFs. When it is set
    as the default app to open a PDF file, QuickLook for this file shows
    the icon intead of the thumbnail. To be clear, my app does *not*
    provide a QuickLook plugin for PDFs. Why would the system plugin not
    work in this case?

    Thanks,
    Christiaan
  • This should not happen.
    What happens if you try in a terminal:

    qlmanage -t /path/to/one/of/your/file.pdf

    What UTI does it show? What plug-in does it use?

    Maybe your application redefines the PDF type and change its UTI to
    something else (i.e. not "com.adobe.pdf")

    As PDF is a built-in OS type, you should not redeclare it in your
    application and only use "com.adobe.pdf" to reference PDF files in your
    application (so no reference to file extensions or other kind of type tags).

    At this point, PDF files can't participate any more to the system wide
    plug-ins relying on proper typing.

    --
    Julien

    On Fri, May 16, 2008 at 9:12 PM, Christiaan Hofman <cmhofman...>
    wrote:

    > Hi List,
    >
    > I have a question about problems with QuickLook support for files that have
    > a default app to open set. My app can open PDFs. When it is set as the
    > default app to open a PDF file, QuickLook for this file shows the icon
    > intead of the thumbnail. To be clear, my app does *not* provide a QuickLook
    > plugin for PDFs. Why would the system plugin not work in this case?
    >
    > Thanks,
    > Christiaan
    >
    > _______________________________________________
    > MacOSX-dev mailing list
    > <MacOSX-dev...>
    > http://www.omnigroup.com/mailman/listinfo/macosx-dev
    >
previous month may 2008 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Go to today