Re: LaunchAgent suddenly appears in Dock bouncing when CGImageSourceCopyPropertiesAtIndex is called
Re: LaunchAgent suddenly appears in Dock bouncing when CGImageSourceCopyPropertiesAtIndex is called
- Subject: Re: LaunchAgent suddenly appears in Dock bouncing when CGImageSourceCopyPropertiesAtIndex is called
- From: Kevin Meaney <email@hidden>
- Date: Sun, 11 Aug 2013 17:01:33 +0100
On 11 Aug 2013, at 15:20, Keary Suska <email@hidden> wrote:
>> On 11 Aug 2013, at 14:40, Kevin Meaney <email@hidden> wrote:
>>> I've got a launch agent working and communicating with it using a terminal command nicely. I'm using NSXPCConnection classes.
>>>
>>> If I call CGImageSourceCopyPropertiesAtIndex within the launchagent then the launchagent suddenly starts bouncing in the dock.
>>
>> Note that calling CGImageSourceCopyProperties doesn't cause the same issue.
>>
>> I've since thought to try since my first e-mail adding to the LaunchAgent's bundle plist the key LSUIElement with a value of YES. This doesn't change the behaviour.
>>
>>> I'm linking against frameworks Foundation and ImageIO.
>>>
>>> Any thoughts as to why?
>
> Is an exception being logged?
Good idea and I should have checked but no. I can debug past CGImageSourceCopyPropertiesAtIndex being called and everything apart from the launch agent suddenly appearing and bouncing in the dock works as expected.
Kevin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden