-
Notifications
You must be signed in to change notification settings - Fork 1k
Identicon does not display in contact list for friends running older client #4724
Comments
@anthonybilinski is this issue still relevant in newer versions? I can't reproduce it. |
Yes, I just reproduced it locally. Something that may interfere with reproducing is if the profile that you're opening on the pre-identicon version has ever been opened post-identicon, it will have generated an identicon and saved it locally, causing it to send that instead of an empty avatar when it connects to its friend. Since the issue it rooted in us deleting the avatar when we receive an empty avatar, this won't trigger it. Creating a new profile on a qTox version pre-identicon and adding a post-identicon profile as a friend will cause this any time the old version comes online. |
My (bad and abandoned) PR above points to the location in code where we delete the generated avatar for our friend when they come online and send us an empty avatar. |
Does a different client count as pre-identicon? My friend is running another client and I'm on qTox post identicon. I don't have this problem at all. If this issues is caused by an empty avatar it shouldn't matter which client sends it? |
I just tried with uTox and couldn't reproduce. I don't see any log when the friend comes online, unlike what I see when a friend comes online in qTox or Antox: I can reproduce with Antox and qTox. |
My friend was using Antox and I couldn't reproduce... I don't get any log message when they come online. Why does it even happen? This function is supposed to generate identicons for each empty avatar https://github.com/qTox/qTox/blob/master/src/persistence/profile.cpp#L395. Or is it not related? |
I might be using a different version of qTox. |
To go over repro case more clearly:
I've you're not seeing the log that you received an empty avatar request, you definitely won't repro this issue. The empty avatar request is key as it is what causes the generated identicon to be deleted. |
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons *Split the concept of "changed" and "removed" into "changed", "set", and "removed" Fixes qTox#4724
Brief Description
OS: Ubuntu 16.04
Commit hash: 42c4a74
Reproducible: Always
Steps to reproduce
Observed Behavior
Before friend comes online, their avatar is shown as their identicon. Once they come online, in group list, they have the old default avatar. Selecting and de-selecting does not change it. Clicking "show details" on the friend shows the identicon, not the default avatar.
Expected Behavior
Identicon is showed in all places for the friend.
The text was updated successfully, but these errors were encountered: