ToxAndroidRefImpl icon indicating copy to clipboard operation
ToxAndroidRefImpl copied to clipboard

New contact's Avatar Icon fails to load in list until restart

Open zellchristensen opened this issue 3 years ago • 2 comments
trafficstars

Describe the bug After adding a new contact, their avatar icon is fetched and displayed properly in the chat history (after they send a message) but never appears in the main list of contacts until the app is closed and restarted.

To Reproduce Steps to reproduce the behavior:

  1. Add a new contact that has an avatar icon set on whatever client they use. I added via QR code to a qTox desktop user.
  2. Receive a message from them to confirm their icon is showing.
  3. Go back to the contacts list.
  4. No avatar icon displayed next to their name.

Expected behavior Icon is displayed when fetched.

Your system information:

  • TRIfA Version: [1.0.62]
  • App from F-Droid
  • Android OS Version: Android 11
  • Device: OnePlus N200

Add screenshots, if possible

Additional context If a contact who's icon was loaded is deleted (on both sides), and then re-added, the icon displays properly in the main list of contacts but fails to display in the chat history. I thought it might have been cached at first.

Also after deleting and re-adding, they appear as offline (Large red dot) but messages can still be exchanged.

Restarting the app after deleting and re-adding makes the icon not show up at all in the main contact list or chat history and subsequent app restarts don't help.

Deleting all avatar icons from the maintenance menu causes all icons in chat history to be cleared, but the icons remain on the main contacts list until app restart.

zellchristensen avatar Jan 18 '22 02:01 zellchristensen

@zellchristensen can you help fix the bug?

zoff99 avatar Aug 31 '22 07:08 zoff99

How can I help? I'm not too familiar with coding itself.

zellchristensen avatar Sep 13 '22 13:09 zellchristensen