• 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: Problems launching doc-based app by double-clicking data files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems launching doc-based app by double-clicking data files


  • Subject: Re: Problems launching doc-based app by double-clicking data files
  • From: Glenn Andreas <email@hidden>
  • Date: Tue, 21 Sep 2004 15:10:59 -0500

At 3:34 PM -0400 9/21/04, Rick Hoge wrote:
One particularly annoying scenario happens when the app is already running, and a document is opened by double-clicking. The running app correctly tries to open the document, but when it comes time to display it in a window the nib load fails because of failure to find a Value Transformer used in support of bindings for the UI. Does this call to mind any known Cocoa bugs or programming errors that people know of? The program runs fine if the document is dragged onto the Dock icon of the running app or loaded via the File > Open panel.


Are you sure that the app is running when you double click the document? This sounds a lot like the problem that happens when you register a value transformer in applicationDidFinishLaunching (which happens _after_ documents used to launch the app are openned/a default blank new document is created, which is of course too late).


--
Glenn Andreas email@hidden <http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
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: Problems launching doc-based app by double-clicking data files
      • From: Rick Hoge <email@hidden>
References: 
 >Problems launching doc-based app by double-clicking data files (From: Rick Hoge <email@hidden>)

  • Prev by Date: Re: Select a NSBezierPath
  • Next by Date: Re: Problems launching doc-based app by double-clicking data files
  • Previous by thread: Problems launching doc-based app by double-clicking data files
  • Next by thread: Re: Problems launching doc-based app by double-clicking data files
  • Index(es):
    • Date
    • Thread