[Bug 27042] Improve typing notifications

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 12 23:42:39 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=27042





--- Comment #4 from Olivier Le Thanh Duong <olivier at lethanh.be>  2010-03-12 14:42:37 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > I don't think it's actually useful that we have a timeout for resending our own
> > typing notification since Empathy itself with change to CHAT_STATE_PAUSED when
> > the user stop typing after a few seconds then will re-change to
> > CHAT_STATE_COMPOSING when the user start typing again. So the only thing we are
> > doing in maskin the PAUSED state (or the corner case where a user is typing non
> > stop for more that 5 seconds)
> 
> Did you read the page I linked to? Doing so would explain why I'm doing what
> I'm doing, or have I missed something?
> 
> Contacts' clients think you're typing if you keep sending typing notifications
> every (less than) ten seconds (allegedly in the case of the official client).
> If you start typing in Empathy but then go to lunch so the GtkEntry has some
> text still in it, I'd say (and, at least XMPP would too) that's still typing
> and we should keep sending typing notifications.
I read it and I tested with the official client, it send typing notification
every 5 second when you type but then no longer send typing notification after
you have stopped typing (which don't contradict in anyway what the page have
been saying). XMPP has a <paused/> state which MSN don't have.
> 
> > in    def steal_conversation(self):
> > +        self._remove_typing_timeouts()
> > if we received a typing notification from the contact right before stealing the
> > contact he will constantly abe shown as typing
> 
> Fixed.
> 
> > 
> > +            self._typing_notifications[handle] = 0
> > Why not just delete it from the dictionary instead of setting it as 0?
> 
> Well, whatever, okay, fixed.
> 
> I updated my branch and rebased on top of my ever-changing conference branch.
> 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list