Bug 117089 - Kopete, MSN: error when I'm invisible and someone changes state
Summary: Kopete, MSN: error when I'm invisible and someone changes state
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: MSN Plugin (show other bugs)
Version: 0.11
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 116989 117093 117321 117526 119854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-26 10:25 UTC by MM
Modified: 2007-06-08 12:24 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MM 2005-11-26 10:25:44 UTC
Version:           0.11 (using KDE 3.5 (RC1), Gentoo)
Compiler:          gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
OS:                Linux (i686) release 2.6.11-gentoo-r11

When I am invisible, I keep getting this message: "You can not send messages when you are offline or when you are invisible.", even if I am not sending anything. For example, every time a contact goes online or changes state, kopete displays this error, but it happens also at random.

I started kopete from command line, and tried to isolate the event, don't know if it could be useful. 

kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] NLN AWY XXXXXXX@hotmail.com Moro%20%20 268435488 %3cmsnobj%20Creator%3d%22XXXXXXX%40hotmail%2ecom%22%20Size%3d%225554%22%20Type%3d%223%22%20Location%3d%22TFR2C2%2etmp%22%20Friendly%3d%22AAA%3d%22%20SHA1D%3d%22ouShZhcjiaBKGll0hv8L6DNIRKA%3d%22%20SHA1C%3d%22byO%2ffgdR7ddf%2fJ7jxuDbxi6VrmY%3d%22%2f%3e
kopete (jabber): [virtual Kopete::ChatSession* JabberContact::manager(Kopete::Contact::CanCreateFlags)] called, canCreate: 0
kopete (jabber): [JabberChatSession* JabberContact::manager(QPtrList<Kopete::Contact>, Kopete::Contact::CanCreateFlags)] called, canCreate: 0
kopete (jabber): [virtual Kopete::ChatSession* JabberContact::manager(Kopete::Contact::CanCreateFlags)] called, canCreate: 0
kopete (jabber): [JabberChatSession* JabberContact::manager(QPtrList<Kopete::Contact>, Kopete::Contact::CanCreateFlags)] called, canCreate: 0
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()] Sending command: XFR 19 SB
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] 913 19
kopete (msn): [virtual void MSNNotifySocket::handleError(unsigned int, unsigned int)]
kopete (msn): [void MSNAccount::slotErrorMessageReceived(int, const QString&)] You can not send messages when you are offline or when you are invisible.
Comment 1 Thiago Macieira 2005-11-26 16:51:46 UTC
*** Bug 117093 has been marked as a duplicate of this bug. ***
Comment 2 Francis Giannaros 2005-11-26 17:05:33 UTC
On a somewhat related note, every so often I also get:
The user someusername@somedomain.com is currently not signed in.
Messages will not be delivered.

After not making any actions, and just having Kopete in the deep background.
Comment 3 Thiago Macieira 2005-11-26 17:16:06 UTC
Confirmed on Kopete 0.11 r477777.
Comment 4 Olivier Goffart 2005-11-26 17:50:56 UTC
This is because it try to download picture.
Don't select to automatically download display pictures.

I'll try to fix it properly
Comment 5 Olivier Goffart 2005-11-28 12:04:04 UTC
SVN commit 483834 by ogoffart:

Complete the fix of the bug 117089. 
CCBUG: 117089

 M  +2 -1      msncontact.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/protocols/msn/msncontact.cpp #483833:483834
@@ -695,7 +695,8 @@
 
 	KConfig *config = KGlobal::config();
 	config->setGroup( "MSN" );
-	if ( config->readNumEntry( "DownloadPicture", 2 ) >= 2 && !obj.isEmpty() )
+	if ( config->readNumEntry( "DownloadPicture", 2 ) >= 2 && !obj.isEmpty() 
+			 && account()->myself()->onlineStatus().status() != Kopete::OnlineStatus::Invisible )
 		manager(Kopete::Contact::CanCreate); //create the manager which will download the photo automatically.
 }
 
Comment 6 Olivier Goffart 2005-11-28 12:05:48 UTC
fixed  (r117089 et r483834)
Comment 7 Thiago Macieira 2005-11-30 05:08:27 UTC
*** Bug 117321 has been marked as a duplicate of this bug. ***
Comment 8 Thiago Macieira 2005-12-02 22:44:54 UTC
*** Bug 116989 has been marked as a duplicate of this bug. ***
Comment 9 Thiago Macieira 2005-12-02 22:45:00 UTC
*** Bug 117526 has been marked as a duplicate of this bug. ***
Comment 10 Thiago Macieira 2006-01-10 16:40:34 UTC
*** Bug 119854 has been marked as a duplicate of this bug. ***
Comment 11 Hugo Costelha 2006-01-10 17:32:15 UTC
Just to make sure 119854 is a duplicate of this bug, does the fix im comment #5 fixes the problem stated in comment #2 ? I'm just asking that because the same thing (#2) happens to me, but my online status is normal, I'm not invisible or something.
Comment 12 Chani 2006-01-31 06:29:59 UTC
afaik, the invisible-thing is fixed, but comment #2 is not. I think it happens when kopete decides to grab someone's pic just as they go offline. I seem to remember seeing that error again just last night...
Comment 13 Eric Thibodeau 2006-05-10 17:20:26 UTC
Wanted to indicate that I (and my other user) also get the same error message as Comment #2 and it's getting quite annoying as this pop up tends to end up in background and blocks kopete from reappearing when clicking on the docked icon in the taskbar (have to search desktops for the missed pop up).
Comment 14 Ger Schinkel 2007-06-08 12:24:51 UTC
I also have the same annoyance with Kopete 0.12.4 (see comment 2). This has still not been fixed? I could do without the whole message altogether. It pops up for no apparent reason to me and with one particular contact it does this about once every minute. Can it be suppressed? Should we open up a new bug thread for this?