Growl displays offline statuses on loggin

Bug #198478 reported by Chascon
2
Affects Status Importance Assigned to Milestone
Coccinella
New
Wishlist
Mats

Bug Description

There is an issue where after successfully logging on, my 100+ contacts' statuses get flashed in on my face. This is quite annoying given the number of contacts I have, and mine are lesser than other's.

I gather this initial notification should be circumvented or adjustable, and certainly not default.

Chascon

sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Wishlist
Revision history for this message
Mats (matsben) wrote :

First, Growl shall only notfy when in Coccinella is in background:

    # Notify only if in background.
    if {![::UI::IsAppInFront]} {

Second, initial login presence shall have a "jabber:iq:delay" xmlns attribute and shouldn't trigger Growl at all:

 # If we have a 'delay' this is presence sent when we login.
 set delay [::Jabber::RosterCmd getx $jid "jabber:x:delay"]
 if {$delay ne ""} {
     return
 }

Can you tell me which server? gtalk.com?

Revision history for this message
Chascon (chascone) wrote :

No, not gmail. I mainly use msn, yahoo, and aim. After much annoyance, I can't reproduce the problem. I assume that it is/was a transport problem, and the transports/server got updated.

Revision history for this message
Chascon (chascone) wrote :

Oops. I spoke too soon. The problem seems intermittent.

Revision history for this message
Chascon (chascone) wrote :

I took some snap shots of Growl to see what really was being reported.

It seems that the status of online contacts are displayed when I log in. Fine, this behaviour might be expected.

Second, it seems that offline aim contacts are listed. It happens this way,

a. Growl notifies that the aim transport is not working or that Coccinella can't connect to it.
b. Then, offline aim contacts are displayed.

I don't know if offline aim contacts are listed because the aim transport is offline or if there is no relationship between the two.

Revision history for this message
Mats (matsben) wrote : Re: [Bug 198478] Re: Growl displays offline statuses on loggin

On 3/16/08, Chascon <email address hidden> wrote:
> I took some snap shots of Growl to see what really was being reported.
>
> It seems that the status of online contacts are displayed when I log in.
> Fine, this behaviour might be expected.
>

It shouldn't do if everything is correct, see my Growl code:
 # Skip transports since they are us.
 if {[::Roster::IsTransportHeuristics $jid]} {
     return
 }

 # Skip myself.
 set myjid2 [::Jabber::Jlib myjid2]
 if {[jlib::jidequal $myjid2 [jlib::barejid $jid]]} {
     return
 }

 # If we have a 'delay' this is presence sent when we login.
 set delay [::Jabber::RosterCmd getx $jid "jabber:x:delay"]
 if {$delay ne ""} {
     return
 }
 if {![::Jabber::Jlib roster anychange $jid {type show status}]} {
     return
 }

> Second, it seems that offline aim contacts are listed. It happens this
> way,
>
> a. Growl notifies that the aim transport is not working or that Coccinella
> can't connect to it.
> b. Then, offline aim contacts are displayed.
>
> I don't know if offline aim contacts are listed because the aim
> transport is offline or if there is no relationship between the two.
>

This is hard to say what is going on. You could use the Info/Debug menu to
see the xml if it's not too much. Seems that all contacts are first
displayed as online then the transport goes offline, and all your
contacts are displayed as offline. Sounds like an issue with the
transport.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.