Bug 207075

Summary: Kopete to Kopete conversation not working with Bonjour
Product: [Unmaintained] kopete Reporter: Dan <direx>
Component: Bonjour PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: tejasdinkar
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dan 2009-09-11 13:33:28 UTC
Version:            (using KDE 4.3.1)
Compiler:          gcc 4.3 
OS:                Linux
Installed from:    Compiled From Sources

I am using KDE 4.3.1 with Kopete 0.70.90 and avahi 0.6.24 on two machines (amd64 and i686).

Both machines can see the other machine's Kopete Bonjour account. It is also possible to click the account and write a message, but the other machine does not get the message (or any kind of notification) at all.

I've tried sending several messages from both machines at the same time, but not a single message appeared on the opponent machine.

Both machines are on the same network, no firewalls (just a gigabit switch between them).
Comment 1 Tejas Dinkar 2009-09-13 15:47:53 UTC
This is really really weird. I'm able to reproduce this, and will be looking into it now
Comment 2 Tejas Dinkar 2009-09-13 17:55:53 UTC
SVN commit 1022944 by dinkar:

added setSocket in the Constructor of BonjourContactConnection
BUG: 207075

 M  +2 -1      bonjourcontactconnection.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1022944
Comment 3 Tejas Dinkar 2009-09-13 18:00:39 UTC
I've almost fixed this bug, but I'm still getting a weird condition.

In kopete->kopete chats, the last message is always delayed.

Ie, if I send message 1, it is delayed.
When I send message 2, then message 1 suddenly appears.

I'm wondering why this is happening, this is very strange. Working on this now
Comment 4 Tejas Dinkar 2009-09-13 20:49:31 UTC
SVN commit 1023025 by dinkar:

Solved the case of the disappearing first message
BUG: 207075

 M  +8 -0      bonjourcontactconnection.cpp  
 M  +3 -0      bonjourcontactconnection.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1023025
Comment 5 Dan 2009-09-13 22:33:32 UTC
Cool, that was a fast! Is this fix going to be part of the next 4.3 release?