Re: 2 icons showing in dock

2013-03-03 Thread Jerry Krinock
On 2013 Feb 28, at 15:22, Rick C. rickcort...@gmail.com wrote: You're having the same issue? FWIW I moved it to applicationWillFinishLaunching and changed it to NSApplication activation policy and I see no difference in the behavior. I think that transforming to a foreground process is

Re: 2 icons showing in dock

2013-03-03 Thread Rick C.
@Rob - yes I'm able to reproduce it. Still an issue running all the latest... @Jerry - yes I think it's directly related to transforming the app. Unfortunately I really want this behavior in my app so removing it creates other issues :-) On Mar 4, 2013, at 7:08 AM, Jerry Krinock

Re: 2 icons showing in dock

2013-03-03 Thread Kyle Sluder
On Mar 3, 2013, at 4:13 PM, Rick C. rickcort...@gmail.com wrote: @Rob - yes I'm able to reproduce it. Still an issue running all the latest... @Jerry - yes I think it's directly related to transforming the app. Unfortunately I really want this behavior in my app so removing it creates

Re: 2 icons showing in dock

2013-03-03 Thread Rob McBroom
On Mar 3, 2013, at 9:18 PM, Kyle Sluder k...@ksluder.com wrote: On Mar 3, 2013, at 4:13 PM, Rick C. rickcort...@gmail.com wrote: @Rob - yes I'm able to reproduce it. Still an issue running all the latest... @Jerry - yes I think it's directly related to transforming the app.

Re: 2 icons showing in dock

2013-03-01 Thread Rob McBroom
On Feb 28, 2013, at 6:22 PM, Rick C. rickcort...@gmail.com wrote: You're having the same issue? FWIW I moved it to applicationWillFinishLaunching and changed it to NSApplication activation policy and I see no difference in the behavior… So you are able to reproduce it? Any tips? I’ve tried

Re: 2 icons showing in dock

2013-02-28 Thread Rob McBroom
On Feb 27, 2013, at 9:02 PM, Rick C. rickcort...@gmail.com wrote: I have users still reporting this to me on 10.8.2. I am calling kProcessTransformToForegroundApplication in initialize maybe this is my problem? We’re calling it in `init`. I’ll try moving it to

Re: 2 icons showing in dock

2013-02-28 Thread Rick C.
You're having the same issue? FWIW I moved it to applicationWillFinishLaunching and changed it to NSApplication activation policy and I see no difference in the behavior... On Feb 28, 2013, at 9:55 PM, Rob McBroom mailingli...@skurfer.com wrote: On Feb 27, 2013, at 9:02 PM, Rick C.

2 icons showing in dock

2013-02-27 Thread Rick C.
Hi, When a customer adds my app to Login Items in System Preferences it (sometimes) causes my app to launch showing 2 icons in the dock after a restart. Only one instance is running (Activity Monitor) and only one icon shows in Command-tab. What normally happens is if my app icon

Re: 2 icons showing in dock

2013-02-27 Thread Stephane Sudre
On Wed, Feb 27, 2013 at 9:27 AM, Rick C. rickcort...@gmail.com wrote: Hi, When a customer adds my app to Login Items in System Preferences it (sometimes) causes my app to launch showing 2 icons in the dock after a restart. Only one instance is running (Activity Monitor) and only one icon

Re: 2 icons showing in dock

2013-02-27 Thread Rob McBroom
On Feb 27, 2013, at 3:45 AM, Stephane Sudre dev.iceb...@gmail.com wrote: On Wed, Feb 27, 2013 at 9:27 AM, Rick C. rickcort...@gmail.com wrote: Hi, When a customer adds my app to Login Items in System Preferences it (sometimes) causes my app to launch showing 2 icons in the dock after

Re: 2 icons showing in dock

2013-02-27 Thread Michael Bauer
A shot in the dark but will this solve the problem? kills lsregister. http://underurhat.com/tips-tricks/os-x-lion-how-to-fix-the-duplicate-application-bug-in-open-with-menu/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: 2 icons showing in dock

2013-02-27 Thread Seth Willits
For what it's worth, I'm certain there's a bug in some versions of OS X where apps that transform from background to foreground processes (TransformProcessType or the newer NSApplication activation policy) would cause the Dock to show two icons. I'm pretty sure I filed a radar for it a long

Re: 2 icons showing in dock

2013-02-27 Thread Rick C.
Yes that's it! So if there's no solution for now I guess I'm stuck... :-( And to answer previous questions yes both icons point to the same location... On Feb 28, 2013, at 8:20 AM, Seth Willits sli...@araelium.com wrote: For what it's worth, I'm certain there's a bug in some versions of

Re: 2 icons showing in dock

2013-02-27 Thread Seth Willits
Yeah, there's nothing you can do about it (and as I recall it wasn't a big deal anyway). When I first heard about it, it was right around 10.7.0 so it was users either on 10.6 or early 10.7. I haven't heard a user complain about it in a long time, so it was probably fixed somewhere in later

Re: 2 icons showing in dock

2013-02-27 Thread Rick C.
I have users still reporting this to me on 10.8.2. I am calling kProcessTransformToForegroundApplication in initialize maybe this is my problem? On Feb 28, 2013, at 9:48 AM, Seth Willits sli...@araelium.com wrote: Yeah, there's nothing you can do about it (and as I recall it wasn't a big