• 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
[NSPrintInfo paperSize] sometimes takes 'a long time'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[NSPrintInfo paperSize] sometimes takes 'a long time'


  • Subject: [NSPrintInfo paperSize] sometimes takes 'a long time'
  • From: Matt Gough <email@hidden>
  • Date: Tue, 14 Feb 2006 12:45:28 +0000

For some reason, [NSPrintInfo paperSize] can sometimes take many seconds to return (ranging from 10 seconds up to several minutes) when we call it when our app is launching and it is creating its first untitled document. Once it has successfully launched, subsequent launches will be much quicker for the next few hours/days, after which point it will do another slow launch. (Restarting the Mac during this 'fast period' does not make it revert to being slow again. It is definitely time related)

This has caused our customers to assume that it had crashed at start up and so they contact our support department. Obviously if they are using the trial version, they may just throw it away without ever trying it again.

This wouldn't be so bad if it was a common problem to all apps, but I can't find any other application that exhibits this. Has anyone else seen this at all?

I suspect that sometimes the lower level printing stuff just 'goes to sleep' and can take a while to wake up.

FYI
It is easy enough to force a slow launch by simply setting the clock forward a couple of weeks.


At first I thought it was only related to using shared printers, but customer feedback implies it can happen with local printers also.

This seems to have become more common since 10.4.3, but I remember this happening sporadically back in the 10.3.x days

Any ideas?

Matt Gough
Softchaos Limited
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [NSPrintInfo paperSize] sometimes takes 'a long time'
      • From: Markus Hitter <email@hidden>
  • Prev by Date: Re: Using zlib for i386 (or Universal) builds on PPC clients
  • Next by Date: Re: Using zlib for i386 (or Universal) builds on PPC clients
  • Previous by thread: XMLDocument NSData
  • Next by thread: Re: [NSPrintInfo paperSize] sometimes takes 'a long time'
  • Index(es):
    • Date
    • Thread