• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quicklook not working for network volume items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quicklook not working for network volume items


  • Subject: Re: Quicklook not working for network volume items
  • From: "Norbert M. Doerner" <email@hidden>
  • Date: Wed, 05 Oct 2011 09:14:18 +0200

Chris,

I am trying to get Quicklook working in an app of mine. I'm not sure all these details are relevant, but better to have more than less info. I have a table that shows the number of files in certain folders on a network volume. In one column is the number of files, another column shows the first couple files names, as a string that was concatenated. My data object for each row has an array that stores NSURL's of all of the files.ÝI want the quicklook to show previews for all the files in the folder.

So far I am successful in storing the NSURL's and to retrieve them. When I bring up the quicklook panel, I can see the number of items, it displays a generic icon of the first file, and I can cycle through to other files, and it displays the name of each file correctly. BUT, the preview panel will not show me a real icon or preview of any file, only the generic blank white page icon. If I override the panel methods:
- (id <QLPreviewItem>)previewPanel:(QLPreviewPanel *)panel previewItemAtIndex:(NSInteger)index
and
- (NSURL *)previewItemURL


to return an NSURL to a file on my hard drive, then the quicklook preview works properly and I see the actual image of the PDF. If I override those methods to use a hard coded NSURL to the same file on a network volume, the generic blank white-document icon shows up.
So, what am I missing? I don't understand why this works locally but not on a network volume. The Finder shows the network item's quicklook preview properly.

Do you get any error messages in Console.app when you try to display the network file in Quicklook?


I have found that this framework sometimes emits helpful messages if there are problems...

Yours,
--
Norbert M. Doerner
CEO, West-Forest-Systems
In der Trift 13
56459 Langenhahn, Germany
Fon: +49 (2663) 91 70 128	(Central European Time Zone...)
Fax: +49 (2663) 91 70 126
AIM (iChat), Skype: cdfinderceo
Twitter: http://www.twitter.com/cdfinder
Facebook:
http://www.facebook.com/pages/CDFinder-The-Search-Is-Over/173297504827
---------------------------------------------------------------------------------------------------
CDFinder - The Search Is Over!  http://www.cdfinder.de/
Catalog and organize your photos, music, videos, disks, data, anything...
NEW:  CDFinder 5.7.3 for Mac OS X 10.7 Lion
         Also catalogs PDF, RAW, MS Word, Quark XPress, Adobe Illustrator, ...
---------------------------------------------------------------------------------------------------
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Quicklook not working for network volume items
      • From: Chris Paveglio <email@hidden>
  • Prev by Date: need to run a ln command for every boot
  • Next by Date: Re: Use Subclass in Interface Builder
  • Previous by thread: Quicklook not working for network volume items
  • Next by thread: Re: Quicklook not working for network volume items
  • Index(es):
    • Date
    • Thread