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

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


  • Subject: Problems launching doc-based app by double-clicking data files
  • From: Rick Hoge <email@hidden>
  • Date: Tue, 21 Sep 2004 15:34:03 -0400


For some time we've been encountering very annoying problems when opening documents associated with our Cocoa document-based app by double-clicking the document files.


Part of the trouble stems from having had different versions of the app on the system in different locations - clearly the OS (or Finder or Launch Services or whatever mediates this) has to make a decision about what version to use, but even when removing all but one version we still see problems. Is there anything that can be done on installation to force usage of the newest version as the default on double-click of an associated document?

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.

Thanks for any suggestions,

Rick

_______________________________________________
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: Glenn Andreas <email@hidden>
  • Prev by Date: Re: NSAppKitVersionNumber for 10.3.0?
  • Next by Date: Re: Bezier path for volume editor
  • Previous by thread: Re: setEditable for NSTextField
  • Next by thread: Re: Problems launching doc-based app by double-clicking data files
  • Index(es):
    • Date
    • Thread