Mystery solved. Of course I had changed a setting yesterday and forgot :-)
It seems to be caused by a conflict between Motion's "open last project on launch" preference and the OS's saved application state that only happens when Motion is launched by Xcode. The hang happens if "Close windows when quitting an application" is disabled in System Preferences > General. But I don't want to lose that function just for the sake of this issue, so I added a pre-action script in Xcode which trashes Motion's saved state, before it gets launched.
rm -R ~/Library/Saved\ Application\ State/com.apple.motionapp.savedState/
And Motion is launching properly just like the old days.
Martin Baker ------------------------------------------------------ Digital Heaven Ltd is registered in England and Wales Company registration number: 3628396 Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE VAT registration number: GB 736 0989 03
On 18 Feb 2013, at 18:43, Martin Baker wrote: What's weird is that in the past this problem has happened only occasionally but for some reason since yesterday it is not launching properly on every single Run. Have rebooted, trashed Motion prefs and tried with a different Motion project, but no luck. OSX 10.8.2 / XCode 4.6 / Motion 5.0.6
Martin Baker ------------------------------------------------------ Digital Heaven Ltd is registered in England and Wales Company registration number: 3628396 Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE VAT registration number: GB 736 0989 03
On 18 Feb 2013, at 17:55, Jon Chappell wrote: I think it's an OS X thing. I sometimes double-click a movie file and QuickTime Player launches, then I can hear the sound of the movie playing but can't see anything. If I double-click it again or launch QT Player manually the movie window appears immediately.
On Mon, Feb 18, 2013 at 1:48 AM, Martin Baker <email@hidden> wrote:
Anyone else ever see this when developing FxPlugs?
I've got Motion.app set as the executable for the Run command and Motion preferences set to "open last project". So I press Cmd-R and Motion does indeed launch but not fully. In Xcode console I see the usual "Class CMIOGraphService is implemented in both..." log and then nothing. Sometimes the menu bar changes to Motion, sometimes it remains on Xcode but Motion's document window doesn't appear. The only solution is to click the Motion icon in the Dock, which then fades in the document window and brings things back to life.
thanks
Martin Baker
www.digital-heaven.co.uk
www.twitter.com/digitalheaven
www.videospaceonline.com
www.finalcutters.com
------------------------------------------------------
Digital Heaven Ltd is registered in England and Wales
Company registration number: 3628396
Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE
VAT registration number: GB 736 0989 03
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|