Hi Peter,

Thanks for trying to help me.

In the sample application (growlFirstTime.app) I simulated my problem, which
will register and send the notification immediately after launching.
This issue is happening whether it is at launchtime or in between the
workflow.


The problem looks like that growl is missing the notification if my
application is sending it quickly after registering (setGrowlDelegate:) the
notification. I guess growl is taking some time to create the tickets,
meanwhile my application sent the notification.


I tried even after removing the these lines.
I removed [GrowlApplicationBridge setWillRegisterWhenGrowlIsReady:YES];
I removed applicationIconForGrowl.


Please try this once on your side as well, Its very easy to reproduce .
Clean machine->Install growl->launch growlFirstTime.app->first time growl is
missed->second time growl will be shown.

Regards,
-Sravana.


On Sat, Apr 10, 2010 at 2:44 AM, Peter Hosey <[email protected]> wrote:

> On Apr 9, 2010, at 12:53:12, Sravana Kumar wrote:
> >       [GrowlApplicationBridge setWillRegisterWhenGrowlIsReady:YES];
>
> You don't need to do that.
>
> >       if( ![self showBalloon] )
>
> All that method does is post a notification saying you registered. Don't do
> that—the user does not need to see that notification every time they launch
> your app.
>
> Maybe this notification isn't being displayed, but that doesn't matter,
> because you shouldn't be sending it anyway. Remove it, and you will no
> longer have either problem.
>
> >       return [NSImage imageNamed:@"NSApplicationIcon.icns"];
>
> You don't need to do that. Did you read the documentation (which you
> included in your own source code for some reason) for the
> -applicationIconForGrowl method? It explicitly says that if you don't
> implement this method or its alternative, Growl will use your application's
> icon.
>
> And even if you did need to do that, including “.icns” would be wrong.
>
> > + (BOOL)isGrowlInstalled
> > {
> >       return [GrowlApplicationBridge isGrowlInstalled];
> > }
>
> Why are you implementing this method?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Growl Discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<growldiscuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/growldiscuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to