Problems launching doc-based app by double-clicking data files
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