Summary: | icq buddy-icons not shown after kopete crashed | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | S. Burmeister <sven.burmeister> |
Component: | ICQ and AIM Plugins | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 0.12 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
S. Burmeister
2006-01-15 18:22:00 UTC
This seems to be true for those contacts only that were online when kopete crashed. Are the pictures supposed to be saved to oscarpictures? If so, they are not for me, even though they show up in the contactlist. I had a look at the debug output regarding the icq-buddyicons issue. I always get an error, even if the icon is shown. kopete (oscar/icq): WARNING: [void ICQContact::haveIcon(const QString&, QByteArray)] Failed to convert buddy icon to QImage Further, I found out that one can reproduce the issue. One should go online with icq after a long break, e.g. be offline over night. That way all buddy icons are loaded perfectly in the morning. Then one quits kopete and restarts immediately. The away messages are shown instantly and buddy icons working, I guess that kopete takes them from some cache, as normally it takes some time to get the away-messages. Then one quits kopete for 15-20 minutes. If kopete is restarted, the icons for the contacts that have been online the time before will not appear. From debug I could see that I got kopete (oscar/icq): [virtual void ICQContact::userInfoUpdated(const QString&, const UserDetails&)] updating buddy icon in 9 seconds then one with 5 and 6 again, then 2 but it never actually requested the icons. I waited about a minute or so. I went offline again and online. This time icons were requested, yet not shown. kopete (oscar - raw protocol): [void BuddyIconTask::handleICQBuddyIconResponse()] Receiving buddy icon for xxxxxxxxx kopete (oscar/icq): [void ICQContact::haveIcon(const QString&, QByteArray)] Updating icon for xxxxxxxxx kopete (oscar/icq): WARNING: [void ICQContact::haveIcon(const QString&, QByteArray)] Failed to convert buddy icon to QImage Yet xxxxxx did not show an icon in the contact-list Another thing I noticed. kopete requests and receives buddy-icons for contacts that have been online before but not anymore when going offline/online several times. I think I track this problem down, but need more time to fix it. It's not problem with retrieving them but with the client you are retrieving from. I discovered that after some amount of time kopete get disconnected from SSBI ( server-stored buddy icons ) probably timeout and than the other clients can't retrieve buddy-icons because SSBI server will send only hash without image. Kopete won't request buddy-icons only when hash is different than that in kopete. In oscarpictures is saved only your buddy-icon. The icons for contacts weren't probably visible after crash because icq server only sends buddy icon data for approximately half an hour to other clients. It's fixed in 0.12 now kopete caches buddy icons ( r508122 ). Don't know why jabber icons aren't loaded but if that are icq contacts in jabber than it could be the same problem. > It's fixed in 0.12 now kopete caches buddy icons ( r508122 ).
so it is fixed.
and i can't reproduce the problem with Jabber
|